Skip to main content
Glama

Approve or deny

decide_approval
Destructive

Approve or deny a pending action to let the bot continue or skip the step immediately.

Instructions

Approve or deny a pending action. The bot continues (or skips the step) right away.

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

Input Schema

NameRequiredDescriptionDefault
decisionYes
approval_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already flag destructiveHint=true, idempotentHint=false, and readOnlyHint=false, so the safety profile is covered. The description adds value beyond that by disclosing the downstream effect and its timing — the bot proceeds immediately on approve and skips the step on deny — which tells the agent the decision takes effect at once with no review window. It still omits whether the decision is reversible and what happens if the action is no longer pending.

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, front-loaded with the action and followed by the consequence. Nothing is repeated and there is no filler — every clause carries information.

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

Completeness3/5

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

For a destructive, non-idempotent, open-world decision tool with no output schema, the description covers the core effect but leaves out prerequisites (where approval_id comes from), irreversibility, and error behavior on stale or already-decided approvals. Adequate to call correctly, but a meaningful gap remains for a mutation of this weight.

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 description coverage is 0%, so the description carries the burden. The parenthetical does map the two decision outcomes (approve → continue, deny → skip the step), which is real semantic value beyond the bare enum. However, the source and validity requirements of approval_id (a UUID obtained elsewhere, presumably still pending) are never explained, leaving half the parameters undocumented.

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?

Names a specific verb pair (approve or deny) and a specific resource (a pending action), so an agent can tell this is a decision-recording tool rather than a read of approvals. It stops short of naming list_approvals or what_needs_me as the source of pending items, so sibling differentiation is only implied.

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?

Usage is implied by 'pending action' and 'The bot continues (or skips the step)', which signals this is the follow-up to discovering an approval request. There is no explicit when-to-use, when-not-to-use, or note that the approval_id must come from a prior listing/what-needs-me call, and no guidance on re-deciding an already-resolved approval.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.