Skip to main content
Glama

Check a test order

check_test_order
Read-onlyIdempotent

The state of an order placed with run_test_order (or any order): status, whether it was paid, provider, total, and whether it is a test order.

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": {
      "site_id": "<site_id>",
      "order": "<order>"
    },
    "name": "check_test_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderYesThe order id or number (from run_test_order)
site_idYesThe site, from list_sites
user_goalNoOptional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered structurally. The description earns credit by disclosing the returned information (status, payment flag, provider, total, test-order flag) — the only source of return-value context since no output schema exists. Minor gap: no mention of error behavior for unknown order IDs.

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 compact sentence with the core object up front and the returned fields listed after the colon. Every clause carries information; there is no filler or repetition of the title.

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 simple read-only lookup with three fully described parameters and no output schema, the description supplies enough: what is looked up and which attributes come back. Only the absence of failure/empty-result behavior keeps it from being fully complete.

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 100%, including the note that the order id comes from run_test_order, so the description's echo of that link adds nothing new. It also says nothing about site_id or the optional user_goal, but the schema already documents both. Baseline 3 is appropriate when the schema does the work.

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 names a specific resource (an order) and enumerates exactly what about it is reported: status, paid state, provider, total, and test-order flag. It also ties itself to the sibling run_test_order and clarifies it works for 'any order', so an agent can distinguish it from the tool that creates orders. It is phrased as a noun fragment rather than a verb+resource statement, which keeps it just short of a 5.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: by referencing run_test_order as the order's source, it suggests this is the follow-up verification call after placing a test order, and 'or any order' broadens applicability. There is no explicit when-not guidance or mention of what to do if the order is not found, so an agent must infer the workflow.

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