Skip to main content
Glama

set_agent_access

Change one of the user's agents' access: "supervised" (no commands or file edits; its connected tools still work), "edits" (edits files, asks before each command) or "full" (runs commands without asking). Lowering always works. More access only when the user asked for it, and never from an agent's own turn inside Caddie: there it's refused, so ask the user to set it on the Agents page instead.

Input Schema

NameRequiredDescriptionDefault
agentYes
accessYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it explains what each mode actually permits (supervised blocks commands/file edits but keeps connected tools working; edits prompts before each command; full runs without asking) and discloses an important failure mode — escalation is refused when called from inside Caddie's agent turn. It does not say whether the new level takes effect immediately for a running agent, nor what permissions the caller needs.

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?

The escalation policy is front-loaded and the mode definitions precede the constraints, which is the right order. The sentence is dense with nested parentheticals and quoted values, making it slightly hard to scan, but nearly every clause carries decision-relevant information.

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 two-parameter mutation with no annotations and no output schema, the description covers the core behavior, the policy constraint, and the refusal path — enough to call it correctly. It omits what the call returns and whether the change affects an already-running agent session.

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 coverage is 0% and neither property has a description, so the description must compensate — and it does for 'access' by defining all three enum values in operational terms rather than just naming them. The 'agent' parameter is never explained (id vs. name, format, how to discover it), which is the remaining gap.

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

Purpose5/5

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

States the specific verb and resource (change an agent's access level) and immediately enumerates the three access modes with their distinct semantics, so the agent knows exactly what the tool manipulates. It is clearly distinguishable from siblings like update_agent or organize_agents, which do not govern execution permissions.

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

Usage Guidelines5/5

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

Gives explicit when-to-use and when-not-to-use rules: lowering access always works, raising requires an explicit user request, and escalation is refused from an agent's own turn — in which case the user must be directed to the Agents page. Nothing about the call/no-call decision is left to inference.

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