Skip to main content
Glama

Get approval status

get_approval_status
Destructive

Check the status of a pending approval request.

Returns a detailed event log of the approval workflow including notifications sent, individual votes with comments, escalations, and the final tool result when approved.

Call this after a tool returns a response with status 'pending_approval' to track the progress of the approval workflow. Poll periodically (e.g., every 15 seconds) until status is 'approved', 'declined', or 'expired'.

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": {
      "request_id": "<request_id>"
    },
    "name": "get_approval_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior2/5

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

It usefully discloses what the response contains (notifications, votes with comments, escalations, final tool result) and that polling is expected. However, nothing in the description hints at any write, destructive, or non-idempotent behavior, while the annotations declare readOnlyHint=false, destructiveHint=true, and idempotentHint=false — an agent reading the description alone would treat this as a harmless read-only poll.

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 short, front-loaded paragraphs: purpose, return contents, then operational guidance. Every sentence adds information and nothing is redundant, though the return-contents sentence partly duplicates what the output schema already conveys.

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 single-parameter polling tool with an output schema, the definition covers trigger, cadence, and terminal states well. The remaining gap is the mismatch between the benign read framing and the destructive/non-idempotent annotation profile, which an agent would need to know before polling.

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?

The single `request_id` parameter has 0% schema description coverage, so the description must carry its meaning. It only implies provenance (the ID comes from the response that returned 'pending_approval') without ever naming the parameter or describing its expected format, leaving a real gap for a tool whose only input is this ID.

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?

The description opens with a concrete verb+resource: "Check the status of a pending approval request," and elaborates that the response is an event log of the workflow. It does not explicitly contrast itself with the sibling `request_approval`, so an agent must infer that this tool reads rather than initiates, but the purpose itself is unambiguous.

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?

It states a precise trigger condition ("Call this after a tool returns a response with status 'pending_approval'"), a polling cadence (every 15 seconds), and the termination states ('approved', 'declined', 'expired'). That is explicit when-to-use and when-to-stop guidance with no inference required.

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.