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

TableJSON Schema
NameRequiredDescriptionDefault
checkout_idYes
confirmationYes
idempotency_keyYes
validation_tokenYes

Output Schema

TableJSON 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. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already signal destructive intent and idempotency, and the description adds useful behavioral context beyond those: the requirement for user authorization, the need for a stable idempotency_key, and the recovery behavior after an uncertain response. It does not dwell on return behavior, but the output schema covers that.

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?

The description is compact and front-loaded with the most important precondition. The second sentence earns its place by clarifying recovery behavior. Some phrasing is dense and slightly awkward, but it is not padded.

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?

For a mutation tool with four required parameters, the description covers the critical workflow around authorization, idempotency, and uncertain responses. It does not explain where checkout_id comes from or spell out the confirmation object's role beyond terms_hash, though the schema partially fills that gap. Overall it is workable but not fully complete for an agent without additional flow context.

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?

With 0% schema description coverage, the description helps by explaining the role of terms_hash, validation_token, and idempotency_key in the flow. However, it does not mention checkout_id or the confirmed flag in the confirmation object, leaving part of the parameter surface under-explained. It adds meaningful value, but not enough to fully compensate for the schema's lack of descriptions.

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 makes clear this tool commits an order once a review and terms authorization are in place, rather than merely inspecting or validating. It does not explicitly say 'create order,' but the name, title, and commit language convey the action. It also indirectly distinguishes itself from get_order by positioning itself as the commit step.

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?

The description gives explicit preconditions: only after presenting the review and obtaining authorization for its terms_hash. It also provides an alternative path for ambiguous outcomes, instructing the agent to call get_order first and not blindly resubmit. This is strong when-to-use and when-not-to-resubmit 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