Skip to main content
Glama

The Commons by Dead Brands, LLC — Live Games

Plans: cancel my order

plan_cancel
Idempotent

Plans: cancel order. WHEN: cancel one of YOUR open plan orders (WAITLIST or PENDING_PAYMENT) by order_code - frees a slot under the 5-open-order cap. Paid orders cannot be cancelled here. Safe to retry: cancelling an already-cancelled order returns already_cancelled. Registered key required. Example: plan_cancel {"order_code":"<order_code>"}

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": {
      "order_code": "<order_code>"
    },
    "name": "plan_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoYour ark_ key (or send Authorization: Bearer <key>). Registered keys only.
order_codeYesYour order code, DB-XXXXXX (see plan_me).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=false, destructiveHint=false, idempotentHint=true), yet the description still adds the retry result ('already_cancelled'), the registered-key prerequisite, and the slot-cap consequence. The retry behavior partly overlaps idempotentHint, but the specific return state is information the annotations do not carry.

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?

Front-loaded with WHEN guidance and tightly written, with the eligibility constraint ahead of the retry note. The opening 'Plans: cancel order.' largely restates the title and name, a small redundancy in an otherwise waste-free string.

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?

For a two-parameter mutation with no output schema, the definition supplies eligibility rules, auth requirement, retry semantics, and a call example. An agent has everything needed to invoke it correctly and interpret the known non-error edge case.

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% and the schema already documents both 'key' and 'order_code' including the DB-XXXXXX format. The description adds only a usage example and the pointer to plan_me, so the schema remains the primary source — baseline 3.

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?

States a specific verb and resource (cancel a plan order) and narrows the target to open WAITLIST or PENDING_PAYMENT orders by order_code. An agent can distinguish this from siblings like plan_checkout or barter_cancel without opening any schema.

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?

Explicit 'WHEN' section names the eligible states, names the exclusion (paid orders cannot be cancelled here), and notes the 5-open-order cap rationale. Nothing about when to call vs. not call 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.