Skip to main content
Glama

Read an approval request

get_approval
Read-onlyIdempotent

Read an approval request and its status. Use when after request_approval, to learn whether the person approved it. Before: an approval id from request_approval. Returns the request: pending, approved, denied, completed or failed, with job_id or error_code once done; for functions.deploy the summary holds the public url; get_function_job needs job read access. Cost: free.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "3c1e5a7b-9d2f-4b6a-8e0c-1f2a3b4c5d6e"
    },
    "name": "get_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesApproval id from request_approval.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: it enumerates the possible statuses (pending, approved, denied, completed, failed), explains what is populated once done (job_id or error_code), notes the special case that for functions.deploy the summary holds the public URL, and states the access requirement and that the call is free.

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?

Front-loads the purpose and packs statuses, return fields, and prerequisites into a few compact clauses with little waste. The telegraphic phrasing ('Use when after request_approval', 'Before: an approval id') is slightly awkward, which keeps it from a 5.

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

Completeness5/5

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

There is no output schema, and the description compensates fully by describing the return states, the job_id/error_code fields, and the deploy URL case. Nothing an agent needs in order to call this tool and interpret the result is missing.

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 100% and the single id parameter is already documented with a UUID pattern. The description restates that the id comes from request_approval, adding no new syntax or semantics, so the baseline 3 applies.

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 ('Read an approval request and its status') and positions it relative to its sibling by naming request_approval as the source of the id. An agent can tell exactly what this tool does and where it fits in the approval flow.

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 clear triggering context ('Use when after request_approval, to learn whether the person approved it') and a prerequisite ('an approval id from request_approval'). It stops short of explicit when-not guidance, such as advising against calling it before a request exists or how to poll, so it is not a full 5.

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.