Skip to main content
Glama

haldir_get_approval_status

Check the current status of an approval request using the request_id returned when the approval was created, so you can confirm whether the request is still pending, approved, or denied.

Instructions

Check the current status of an approval request. Takes the request_id that haldir_request_approval returned. approval_id is accepted as an alias for callers written against the old name.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "haldir_get_approval_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idNo
approval_idNoDeprecated alias for request_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Check' implies a non-mutating read, and the alias note is useful operational context, but nothing is said about permissions required, behavior for an unknown or expired request_id, or whether the call has side effects such as marking the request as viewed.

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 short sentences, front-loaded with the action, then the input provenance, then the compatibility note. Nothing is redundant and no sentence could be dropped without losing information.

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?

With no annotations and no output schema, the description is the only source of truth, and it never says what status values can come back (pending, approved, denied, expired) or how they should be interpreted. For a status-polling tool this is a meaningful gap, though the calling contract itself is clear enough to invoke.

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 50% (only approval_id is documented), and the description compensates by explaining where request_id originates and why approval_id exists ('callers written against the old name'), which is richer than the schema's bare 'Deprecated alias' note. It omits the edge case that neither parameter is required and does not say what happens if both are supplied or if neither is.

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 specific verb and resource: 'Check the current status of an approval request.' It also ties the input back to the creating tool ('the request_id that haldir_request_approval returned'), which distinguishes it from the other get_* siblings. It stops short of naming alternate ways to query approval state, but the resource 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: check status after haldir_request_approval has produced a request_id. There is no explicit when-not guidance, no mention of polling cadence, and no named alternative for related queries, so the agent must infer the lifecycle context.

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