Skip to main content
Glama

Create internet order

create_order
DestructiveIdempotent

Only after presenting the current review and obtaining authorization for its terms_hash, commit with its validation_token and one stable idempotency_key. After a lost or uncertain response, call get_order first; do not blindly resubmit.

Input Schema

NameRequiredDescriptionDefault
checkout_idYes
confirmationYes
idempotency_keyYes
validation_tokenYes

Output Schema

NameRequiredDescriptionDefault
errorNo
statusYes
evidenceNo
order_idNo
next_actionNo
submitted_atNo
provider_nameNo
schema_versionYes
last_checked_atNo
selected_offer_summaryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / $defs / ErrorDetail / properties / retry_after_seconds / anyOf
      Previous value: -[
      -  {
      -    "maximum": 300,
      -    "minimum": 1,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 86400,
      +    "minimum": 1,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnly=false, destructive=true, idempotent=true, openWorld=true), so the description is not burdened with that. It adds genuinely non-structured behavior: the authorization gate tied to terms_hash, the requirement to reuse one stable idempotency_key, and the recovery procedure after an uncertain response. It does not disclose failure modes or what the commit actually produces beyond the confirmation gate.

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?

Two dense sentences with no filler, front-loading the precondition before the recovery instruction. It is efficient, though the heavy use of definite references ('the current review', 'its terms_hash') trades some readability for brevity.

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 and annotations cover the safety profile, so return values and destructive behavior need no restating. However, the description references a 'review', terms_hash, and validation_token without indicating which sibling (validate_order) produces them, leaving an agent to guess the prerequisite chain despite the strong recovery guidance.

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 description coverage is 0%, so the description must carry meaning, and it does: it binds terms_hash to the authorization step, ties validation_token to that review, and specifies 'one stable idempotency_key' (i.e., reuse across retries) — semantics the schema cannot express. It never mentions checkout_id or clarifies the confirmation object, so the compensation is partial rather than complete.

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 frames the tool as a conditional 'commit' gated on a prior review and authorization, which implies a write/finalization action, but it never plainly states that it creates an order or what artifact results. An agent can infer the mutation from the name/title and the verb 'commit', yet the description itself leaves the purpose implicit rather than explicit.

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?

It states an explicit precondition ('Only after presenting the current review and obtaining authorization for its terms_hash') and an explicit alternative for the failure path ('After a lost or uncertain response, call get_order first; do not blindly resubmit'). Both when-to-use and when-not-to-resubmit are named concretely, which is unusually strong routing guidance.

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