Skip to main content
Glama

Simulate order

simulate_order

Test stores only: run a purchase end to end without a browser to prove the integration works. Reserves and commits stock, creates a paid order, fires events and the app's webhooks; fulfill: true also marks it shipped. Returns the events, webhook deliveries and the emails a real order would send. Never charges a card, reaches Printify/Printful, emails anyone, or counts toward usage.

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": {
      "items": "<items>"
    },
    "name": "simulate_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
fulfillNo
discount_codeNoApply a discount code, as a shopper would
shipping_rateNo
customer_emailNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Far beyond the annotations, it enumerates the exact side effects (reserves/commits stock, creates a paid order, fires events and webhooks, optional shipping via fulfill) and, critically, the negations (no card charge, no Printify/Printful call, no real email, no usage counting). This is exactly the disclosure an agent needs before triggering a mutating test operation.

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?

Three dense sentences, front-loaded with the scope and purpose, followed by effects and then the safety exclusions. No filler and nothing repeated from the schema.

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 usefully states what is returned (events, webhook deliveries, emails). Combined with the effect/negation list this is nearly complete; the gap is the undescribed request parameters on a nested-object schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 20%, so the description must carry the parameter burden, yet it explains only the fulfill flag. The required items array with nested variant_id/quantity/properties and the discount_code, shipping_rate and customer_email parameters get no semantics beyond their names.

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 names a specific action (run a purchase end to end) and an explicit scope restriction (test stores only), plus the intent (prove the integration works without a browser). An agent can immediately tell this apart from real order-creation or checkout tools.

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 a clear condition for use — test stores, for integration verification — and implicitly excludes production use. It does not name an alternative for real purchases (e.g. a checkout or fulfill tool), so routing to a sibling is left to inference.

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