Skip to main content
Glama

mcp_server_agent_policy_update

Destructive

Set or clear the agents that receive one custom MCP server

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspaceSlug": "<workspaceSlug>",
      "name": "<name>",
      "body": "<body>"
    },
    "name": "mcp_server_agent_policy_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
nameYes
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=false and destructiveHint=true, so the safety profile is known. The description adds useful context by acknowledging that the operation can clear agents, which confirms the destructive annotation rather than contradicting it. It omits the key behavioral fact that the call appears to replace the entire allowed-agent set rather than append to it, and says nothing about permissions or the 51-item cap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, and the mutate-or-clear framing comes first. It is arguably under-specified rather than padded, so terseness is the issue, not verbosity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a destructive mutation with a nested body object, zero schema documentation, no output schema, and no annotations beyond safety hints. For that complexity the description is too thin: an agent cannot tell whether the list replaces or extends existing assignments, nor what each parameter addresses.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden for three required parameters, and it only loosely gestures at allowedAgentIds via 'agents that receive.' It never explains what 'name' identifies (presumably the custom MCP server), what workspaceSlug scopes, that allowedAgentIds is a wholesale replacement list, or that it is capped at 51 entries and an empty list clears access.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb pair (set or clear) and the exact resource: the agents receiving one custom MCP server. This is distinguishable from the integration-scoped sibling because it names the MCP server as the target. It stops short of naming any sibling explicitly, so differentiation depends on the reader inferring scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'set or clear' implies two modes of use, so an agent can infer that passing agents grants access and removing them revokes it. But there is no explicit statement of when to choose this over integration_agent_policy_update, no prerequisites, and no note that clearing is a legitimate outcome.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources