Skip to main content
Glama

request_gated_approval

Create an item_type=approval child and block the parent.

Does not send, publish, spend, delete, or grant. Human or manager marks the child done, then performs the gated action. Agent seats must call this with gate=publish instead of file_publish / storage_publish, or gate=destructive instead of memory_forget.

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": {
      "parent_id": "<parent_id>",
      "gate": "<gate>",
      "title": "<title>",
      "description_md": "<description_md>"
    },
    "name": "request_gated_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
gateYesNamed gate: external_send, spend, destructive, taste, publish, access. Does not perform the action.
agentNoOverride agent identity
titleYesApproval child title
parent_idYesParent work item UUID to block
description_mdYesProposed action + draft pointer (handoff packet)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / gate / description
      Previous value: -"Named gate: external_send, spend, destructive, taste, publish. Does not perform the action."New value: +"Named gate: external_send, spend, destructive, taste, publish, access. Does not perform the action."
  2. Added

TDQS

A4.6/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 enumerates what the tool does NOT do (send, publish, spend, delete, grant) and explains the blocking-plus-human-approval mechanic. It stops short of stating what happens on rejection, whether the parent unblocks automatically, or any idempotency/permission detail beyond 'agent seats'.

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?

Front-loaded with the action and effect, then the exclusions, then the routing rule. Four compact sentences, each carrying distinct information with no repetition of the title or name.

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 gated-approval primitive with an output schema (so return values need no explanation), the description covers purpose, negative scope, and caller routing. It is slightly incomplete on the post-decision lifecycle — what happens to the blocked parent after approval or rejection — which an agent orchestrating the flow would want.

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 the baseline is 3, but the description adds real meaning beyond the schema by tying specific gate values (publish, destructive) to the sibling tools they substitute for, which the schema's generic enum list does not convey. It does not elaborate on title, parent_id, agent, or description_md beyond what the schema already documents.

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 a specific verb and resource ('Create an item_type=approval child') plus a side effect ('block the parent'), and explicitly names the sibling tools it replaces (file_publish / storage_publish / memory_forget). An agent can distinguish it from those siblings without opening any schema.

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 an explicit routing rule: agent seats must call this with gate=publish instead of file_publish / storage_publish, or gate=destructive instead of memory_forget. It also states the workflow condition (human or manager marks the child done, then performs the gated action), so both when-to-use and which-alternative-not-to-use are covered.

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.