Skip to main content
Glama

PillDrops

agent_decide_approval

Allow or deny an action an agent is waiting on. Read what it asks in agent_list_approvals first.

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": {
      "sandbox_id": "<sandbox_id>",
      "approval_id": "<approval_id>",
      "decision": "<decision>"
    },
    "name": "agent_decide_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
decisionYesallow or deny
sandbox_idYessandbox id of an agent template
approval_idYesapproval id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does convey the important state fact that an agent is blocked waiting on this decision, but says nothing about whether the decision is final, what happens to the pending action on deny, or whether the sandbox must be live.

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?

Two short sentences with zero waste, and the action statement is front-loaded before the prerequisite. Nothing could be removed without losing 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 simple three-required-parameter gate tool with no output schema, the definition covers purpose, prerequisite, and the two decision outcomes. The remaining gap is post-decision behavior, which matters for a mutation but is a modest omission.

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 all three parameters are already documented in the schema. The description's 'allow or deny' phrasing echoes the decision field without adding allowed values as an enum or clarifying format. Baseline 3 applies since the schema does the work.

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 specific verb pair (allow or deny) and a specific resource (an action an agent is waiting on), which is clearly distinct from the read-only sibling it references. It stops short of naming the effect on the agent's execution, but an agent can tell what this does.

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

Usage Guidelines4/5

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

Gives explicit sequencing guidance: read what is being asked via agent_list_approvals first. That is real when-to-use context. It lacks any when-not guidance (e.g., what to do if the approval has expired or was already decided).

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.