Skip to main content
Glama

Read one API request

get_api_request_status

Read the state of an API request by the request id it was given: pending_review, approved_for_build or closed, whether a build was approved, whether a product was published, and what happens next. Requires the status_token returned once by request_api; the id alone is not a credential.

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

Input Schema

NameRequiredDescriptionDefault
request_idYesThe request id returned by request_api.
status_tokenYesThe status_token returned once by request_api. Required: the id alone is not a credential.

Output Schema

NameRequiredDescriptionDefault
noteNo
stateYes
next_stepNo
publishedNo
request_idYes
approved_for_buildNo
fulfilable_from_authorised_sourcesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / status_token
      Added value: +{
      +  "description": "The status_token returned once by request_api. Required: the id alone is not a credential.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "request_id"
      -]New value: +[
      +  "request_id",
      +  "status_token"
      +]
  2. Added

TDQS

A4.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 disclosure burden and does well: 'Read' establishes a non-mutating operation, and the prerequisite credential requirement is stated twice. It enumerates the observable outcome fields (approval, publication, next step) but says nothing about token expiry or error behavior when the token is stale.

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?

A single front-loaded sentence with the verb and resource first, then outcome enumeration, then the credential caveat. It is dense but every clause earns its place; only 'it was given' is slightly loose wording.

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?

For a two-parameter read tool with an output schema present, nothing material is missing: the auth prerequisite, the read semantics, and the set of possible states are all covered, and return-value shape is left to the output schema as intended.

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%, so both request_id and status_token are already documented at the property level, including the exact sentence about the id not being a credential. The description adds no syntax, format, or sourcing detail beyond what the schema already states, 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 the state of an API request') and then enumerates the exact states returned: pending_review, approved_for_build, closed, plus build/publish flags and next steps. An agent can immediately tell this is a status-polling read and distinguish it from the sibling request_api, which creates the request.

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?

Provides clear operating context: the tool only works with a status_token that request_api returns once, and 'the id alone is not a credential' rules out polling with only a request id. It stops short of explicit when-not-to-use guidance or naming an alternative polling path, so a 4 rather than a 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.

Resources