Ask the deployment's decision service to suggest read_only or changes for every tool of an MCP server that has no label yet. Suggestions are never applied: a person confirms one by setting the label.
POST
/v1/mcp-servers/{id}/tools/suggest-labels
const url = 'https://app.everruns.com/api/v1/mcp-servers/example/tools/suggest-labels';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.everruns.com/api/v1/mcp-servers/example/tools/suggest-labelsParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”id
required
string
Prefixed public identifier
Responses
Section titled “ Responses ”Success
Media typeapplication/json
Array<object>
One tool an MCP server offers, with its saved risk label.
object
annotations
description
What the tool does, as the server describes it.
string | null
label
name
required
The tool’s own name on the MCP server.
string
suggested_label
title
Human-readable title the server gives the tool.
string | null
Example
[ { "label": "read_only", "name": "search_docs", "suggested_label": "read_only" }]MCP server not found
No decision service is configured on this deployment