Skip to main content
Glama

Grant agent tool

grant_agent_tool
Destructive

Grant ONE specific tool to an agent's loadout (tool_access). Use when an operator says "give the tool" / "let use ". The tool name is validated against the live registry at write time — phantom names are rejected, deprecated names auto-map to their successor. For wholesale capability re-derivation use recalibrate_agent_jd instead; connector tools auto-provision on connection.

Routing: One tool per call (grant several = several calls); a read-only tool grants from any door, anything that writes, sends, or spends needs a human door (chat/MCP by a human)

[sensitive-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
reasonNoOptional one-line why — stored in the audit record on the agent's JD.
agent_idYesUUID of the agent receiving the tool. 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 registry name of the tool to grant (e.g. "capture_idea").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

The description adds substantial behavioral context beyond the destructiveHint annotation: live registry validation, phantom-name rejection, deprecated-name auto-mapping, per-call limits, door routing, and the sensitive-tier approval workflow (from-now-on vs just-once, call on first ask, card is the yes). This fully discloses operational side effects and approval requirements.

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?

Three paragraphs, each with a distinct purpose: definition, routing, and approval. The sensitive-tier paragraph is somewhat long but contains only relevant operational guidance. Front-loaded purpose sentence makes the main action immediately clear.

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?

Despite having no output schema, the description covers everything an agent needs to invoke correctly: what it does, when to use it, routing restrictions, validation behavior, approval flow, and explicit alternatives. For a security-sensitive mutation tool, no critical context is missing.

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 100%, so baseline is 3. The description adds extra meaning to tool_name by explaining validation against the live registry, rejection of phantom names, and auto-mapping of deprecated names to successors. This goes beyond the schema's 'exact registry name' wording, though it doesn't clarify other parameters.

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 states the exact verb and resource: 'Grant ONE specific tool to an agent's loadout (tool_access).' It also distinguishes the tool from its main sibling, recalibrate_agent_jd, making it immediately identifiable. No ambiguity remains about what this tool does.

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?

Explicit usage triggers are quoted ('give <agent> the <tool> tool'), and clear exclusions are given: connector tools auto-provision, and wholesale capability re-derivation should use recalibrate_agent_jd. The routing rules (one tool per call, human door for writes) further clarify when and how to invoke it.

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