Skip to main content
Glama

Stockfilm — Authentic Vintage Footage

get_4k_order

Idempotent

Verify a 4K order's payment with Stripe and retrieve the license, receipt, and private master download after payment. Requires the private order token from create_4k_checkout. May activate an already-paid license. Never claim purchase completed until purchase_completed is true. If delivery_status is preparing, retry later. Poll no faster than once every 10 seconds. Keep the token and download URL private.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_tokenYesPrivate order_token returned by create_4k_checkout. Keep this token and returned download URLs private.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Even with annotations present, the description adds substantial behavior beyond them: the Stripe payment-verification side effect, the fact that it may activate an already-paid license, the polling rate limit, and the confidentiality requirement for the token and download URL. None of this contradicts the annotations (readOnlyHint=false, idempotentHint=true).

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?

The main purpose is front-loaded in the first sentence, and each subsequent sentence adds a distinct operational rule (prerequisite, activation side effect, completion criterion, retry condition, polling limit, privacy). Given the behavioral complexity, the length is fully justified with no filler.

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?

For a 1-parameter tool with no output schema, the description covers the critical operational facts: what is retrieved, the completion condition, the retry condition, and the rate limit. The only gap is the precise response shape and failure-mode handling, which would normally come from an output schema.

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 coverage is 100%, so the baseline is 3. The description restates that order_token comes from create_4k_checkout and must be kept private, but the schema already says both of these things. No additional meaning is added beyond the schema for the single parameter.

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?

The description states a specific verb and resource: verify a 4K order's payment with Stripe and retrieve the license, receipt, and private master download. It clearly differentiates from siblings — it references create_4k_checkout as its prerequisite and is distinct from quote_4k_license and license_clip, which handle quoting and licensing rather than post-payment fulfillment.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicit when-to-use and when-not-to-use guidance is given: requires the token from create_4k_checkout, retry later if delivery_status is preparing, never claim completion until purchase_completed is true, and poll no faster than once every 10 seconds. This fully equips an agent to sequence the call correctly.

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