Skip to main content
Glama

Get Approval

get_approval
Read-onlyIdempotent

Get the current state of an approval request without waiting: pending, approved, rejected, replied, chosen, timed_out, or cancelled, with the decision time, any reply text, and the chosen option. Use it for status checks or to recover after losing track of a request. To block until the user decides, use wait_for_approval instead. Returns Approval not found for an unknown ID.

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>"
    },
    "name": "get_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
approval_idYesapproval_id returned by request_approval.

Output Schema

NameRequiredDescriptionDefault
approvalYes
next_actionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered structurally. The description still adds the non-obvious behavioral fact that this call is non-blocking (the counterpart blocks) and documents the not-found failure path. A 3 acknowledges the useful additions without overstating them.

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?

Three front-loaded sentences: what it returns, when to use it, and the blocking alternative, followed by one concrete failure mode. No filler or restated field names.

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 read with a full output schema and rich annotations, the definition covers purpose, routing, blocking semantics, and the error case. Only a minor gap remains around pagination or freshness of the returned state, which is not clearly relevant here.

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?

Only one parameter at 100% schema coverage, so the schema already carries the burden; the description adds no syntax, format, or sourcing detail beyond what is there. Baseline 3 applies when the schema does the heavy lifting.

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 ("Get the current state of an approval request") and immediately scopes it with "without waiting" plus the full enumeration of possible states. This makes it clearly distinguishable from wait_for_approval, which is named directly.

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 explicit when-to-use cases ("status checks or to recover after losing track of a request") and an explicit alternative with a condition ("To block until the user decides, use wait_for_approval instead"). An agent never needs to infer which of the two to pick.

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