Skip to main content
Glama

get_approval_request

Retrieve an approval request’s exact action payload for authorized review before approving or rejecting a delegated coding task.

Instructions

Read the complete exact action for an authorized direct caller.

Inspect this payload before approving; request IDs, digest and revision are comparison fields, never authorization tokens. Payloads may contain sensitive command arguments.

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

Input Schema

NameRequiredDescriptionDefault
task_idYes
request_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.14

TDQS

B3.2/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 add real behavioral context: it notes the caller must be "authorized," warns that payloads may contain sensitive command arguments, and clarifies that request IDs, digest and revision are comparison fields and never authorization tokens. That security and data-sensitivity disclosure is well beyond a bare restatement, though it stops short of stating side-effect-free/read-only behavior explicitly.

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?

The definition is short and front-loaded, leading with the core read action before the inspection and security caveats. Some phrasing is awkward ("complete exact action") but every sentence carries information and there is no filler.

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?

An output schema exists, so return-value explanation is not required, and the security caveats are a plus. The remaining gap is provenance of the two required identifiers, which are undocumented in both schema and description for a tool whose whole purpose is fetching a specific request.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for two required parameters (task_id, request_id), so the description must compensate and largely does not. It references "request IDs" only in the context of comparison semantics and never explains what task_id identifies, the expected format, or where to obtain either value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says it will "Read the complete exact action" for a caller, which conveys a read operation tied to an approval request, but the resource is phrased abstractly as "action" rather than naming the approval request payload. An agent can roughly infer it fetches an approval request's contents, but it is not a crisp verb+resource statement and does not explicitly differentiate itself from siblings like list_approval_requests or respond_approval_request.

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?

"Inspect this payload before approving" implies the tool should be used prior to responding to an approval request, which is useful implied guidance. However, no alternative is named and no explicit when-not condition is given, so the agent must infer that respond_approval_request is the counterpart and that list_approval_requests is where IDs come from.

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