Skip to main content
Glama

Purchase request status

get_purchase_request
Read-onlyIdempotent

Status of a purchase you requested: pending, completed (with acquired_copy_id to load with fetch_session_context), declined or expired.

Input Schema

NameRequiredDescriptionDefault
purchase_request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, so the bar is low. The description adds genuine behavioral value by disclosing the full outcome space (pending, completed, declined, expired) and noting that a completed request carries an acquired_copy_id, which the annotations cannot convey.

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?

One dense sentence, front-loaded with the resource and its outcome states, with the follow-up action packed into a parenthetical. No filler or repetition.

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?

With no output schema, the description does its job by enumerating the returnable status values and the one meaningful payload field (acquired_copy_id). It omits where the purchase_request_id originates and any polling/expiry semantics, which keeps it just short of fully self-contained.

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 0% and the single parameter is required, so the description must carry the burden. It conveys the id's provenance ('a purchase you requested') but adds no format or shape detail beyond the pattern already present in the schema, leaving it only partially compensating.

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 states the exact resource returned (the status of a previously requested purchase) and enumerates the four possible outcomes, which lets an agent distinguish it from the sibling request_purchase that initiates a purchase. It stops short of explicitly naming the initiating/alternative tool, so differentiation is implied rather than spelled out.

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?

It gives clear operational context: call this to check on a purchase you already requested, and when the result is 'completed' use the acquired_copy_id with fetch_session_context. It names the follow-up sibling and the condition that triggers it, though it never states outright when to prefer this over request_purchase or how often to poll.

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.