Skip to main content
Glama

Revoke agent tool

revoke_agent_tool
Destructive

Remove ONE specific tool from an agent's loadout (tool_access). Use when an operator says "take away from " — or to clean a phantom/stale name out of a loadout (unresolvable names ARE removable here, unlike grant). Reports honestly when the name was not present, and when the tool is a universal base tool the runtime keeps available regardless.

Routing: Human door only (chat/MCP by a human operator) — never autonomous

[write-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time. Call it on the first clear ask; the card is the yes — do not re-ask in chat.]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesUUID of the agent. Use get_team_roster to find IDs.
companyIdYesFreedomOS company id to act within (you must be a member). Required for company-scoped tools.
tool_nameYesExact loadout entry to remove (phantom/stale names allowed).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The description adds substantial context beyond the annotations: it honestly reports when the name was not present, notes that unresolvable names are removable, and reveals that universal base tools remain available regardless. It also discloses the write-tier approval workflow and human-only routing, which the annotations do not cover. No contradiction with the destructiveHint=true annotation — the behavior described aligns with a destructive write operation.

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 description is dense but well-structured, front-loading the core purpose and usage before routing and approval info. The bracketed approval block adds operational value despite making it longer than typical MCP descriptions, and there is no filler, though it could be tightened slightly by trimming meta-context like 'write-tier' phrasing.

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

Completeness5/5

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

The description covers the full behavioral surface for an agent: what the tool does, when to use it, edge cases (phantom names, not-found behavior, universal base tools), routing restrictions, and approval handling. With annotations already providing the destructive/safety profile and no output schema required, nothing an agent needs to call this tool correctly is missing.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents agent_id, companyId, and tool_name with their nuances. The description adds only light reinforcement (e.g., 'unlike grant' for tool_name) and repeats the phantom/stale name concept already present in the schema. The description does not materially add semantics beyond the schema, so baseline 3 is appropriate.

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?

The description uses a specific verb and resource: 'Remove ONE specific tool from an agent's loadout (tool_access).' It explicitly differentiates itself from its sibling grant_agent_tool by noting 'unlike grant,' making it clear this is the removal counterpart. An agent can distinguish it from deactivate_agent, update_agent, and other similar tools without opening schemas.

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?

Usage is explicit: use it when an operator says 'take <tool> away from <agent>' or to clean phantom/stale names, with the contrast to grant. It also states routing constraints upfront ('Human door only ... never autonomous') and approval behavior with clear guidance on when to call it ('Call it on the first clear ask'). This leaves no ambiguity about when to select this tool.

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