Skip to main content
Glama

Cancel quest

cancel_quest
DestructiveIdempotent

Cancel a quest before a quester claims it. Paid quests are credited in full to your SideQuest balance. Claimed quests cannot be cancelled.

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": {
      "quest_id": "<quest_id>"
    },
    "name": "cancel_quest"
  }
}

Input Schema

NameRequiredDescriptionDefault
quest_idYesThe quest id returned by create_quest, like q_abc123.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered; the description adds value beyond them by disclosing the money consequence — 'Paid quests are credited in full to your SideQuest balance' — which an agent needs before committing. It does not say whether credit is immediate, what happens on a partially-claimed quest, or what the response contains.

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 short sentences, each doing distinct work: operation, refund consequence, eligibility limit. The blocking condition is front-loaded alongside the verb, and there is no redundant restatement 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 destructive single-parameter mutation, the description covers the key operational facts: the precondition, the refund outcome, and the hard limit. Remaining gaps are minor — no return value detail and no mention of ownership/permission requirements — and no output schema exists to cover them.

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?

There is a single parameter with 100% schema description coverage, including an example format ('q_abc123') and its origin in create_quest, so the schema already carries the parameter semantics. The description adds no further meaning about quest_id, which is acceptable at the baseline for full coverage.

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?

Names a specific verb and resource ('Cancel a quest') and immediately scopes it with 'before a quester claims it', so it is distinguishable from siblings like change_quest or dispute_quest. An agent knows exactly what operation is performed without opening the schema.

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?

Gives a clear eligibility condition in both directions: usable before a claim, explicitly unusable once 'Claimed quests cannot be cancelled.' What is missing is a pointer to what an agent should do instead for a claimed quest (e.g., dispute_quest or report_no_show), so the exclusion is stated but not routed.

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