Skip to main content
Glama

Set agent autonomy

set_agent_autonomy
Idempotent

Set an agent's coarse write-autonomy: 'read_only' (no writes), 'approval' (writes need human OK), or 'autonomous' (writes allowed, subject to per-tool rules).

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": {
      "agent_id": "<agent_id>",
      "autonomy_mode": "<autonomy_mode>"
    },
    "name": "set_agent_autonomy"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYes
autonomy_modeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, idempotent, non-destructive write, so the bar is lower; the description still adds real value by defining what each mode permits at the write level. It stops short of saying whether the change takes effect immediately, whether it requires admin permission, or what happens to in-flight approvals.

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

Conciseness5/5

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

One sentence, front-loaded with the verb and resource, then the enumerated values in parentheses. No filler and nothing restated from the schema or annotations.

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

Completeness4/5

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

For a simple two-parameter setter with idempotent/non-destructive annotations and no output schema, this is essentially complete: the agent knows what each value means and that a write occurs. Only the return behavior and permission prereqs are unstated.

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

Parameters4/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 parameter burden; it fully defines the three enum values of autonomy_mode, which is the only non-obvious input. agent_id is left unexplained but is self-evident from the name.

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?

Specific verb+resource: 'Set an agent's coarse write-autonomy', and the three modes are spelled out with their operational meaning. The word 'coarse' plus 'subject to per-tool rules' implicitly separates it from set_agent_tool_permission, though no sibling is named explicitly.

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 mode semantics ('approval' = writes need human OK) imply when an agent would pick each value, but there is no explicit when-to-use statement, no when-not guidance, and no named alternative such as set_agent_tool_permission for finer-grained control.

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