Skip to main content
Glama

Printdash

Cancel an order (asks first)

cancel_order
Destructive

Prepares cancelling one order: returns the summary to show the customer and a confirmation_token. Nothing is cancelled until confirm is called with it after the customer agrees. Only an unpaid order that is not in production can be cancelled, as on the order page; otherwise it says so. Needs a signed-in Printdash account: called without one, the connection asks the customer to sign in on printdash.io.

Input Schema

NameRequiredDescriptionDefault
orderYesThe order number (or the order id from its link).

Output Schema

NameRequiredDescriptionDefault
nextYes
actionYes
detailsYes
summaryYesShow this to the customer exactly as written before confirming.
expires_atYes
confirmation_tokenYes
confirmation_requiredYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, it discloses the two-phase safety design (no cancellation until confirm), the token handoff, the eligibility preconditions, and the auth requirement (a signed-in Printdash account, with the connection prompting sign-in on printdash.io). The destructiveHint=true annotation is conservative for a preparatory call, but the description explains the flow rather than contradicting it.

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?

Four short sentences, front-loaded with the two-step contract, then eligibility, then auth. Every sentence carries information an agent needs; there is no restatement of the title or schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has an output schema, so return values need no prose, and the description covers what remains: preconditions, auth, the confirmation token handoff, and the non-cancelling behavior of this call. Nothing an agent needs to invoke it correctly is missing.

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% for the single 'order' parameter, whose schema description already explains that it accepts an order number or an id from its link. The description adds nothing further about the parameter, so the baseline 3 applies.

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 ('Prepares cancelling one order') and immediately clarifies the two-step contract: it returns a summary plus a confirmation_token, and nothing is cancelled until 'confirm' is called. That distinguishes it cleanly from the 'confirm' sibling and from destructive direct-action tools like reject_order.

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 names the explicit precondition (customer must agree, then call confirm with the token) and the eligibility gate (only an unpaid order not in production, matching the order page). It also states what happens otherwise ('it says so'), so an agent knows the failure mode rather than guessing.

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