Skip to main content
Glama

Approve quest and pay quester

approve_quest
DestructiveIdempotent

Approve a submitted quest after checking its proof. This releases the secured reward to the quester. Also works on a disputed quest to withdraw the dispute and pay. Optionally rate the quester 1 to 5. Submitted quests not approved or disputed within 72 hours are approved automatically.

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": "approve_quest"
  }
}

Input Schema

NameRequiredDescriptionDefault
ratingNoOptional rating of the quester, 1 (poor) to 5 (excellent).
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.1/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 openWorldHint=true; the description goes beyond them by disclosing that a secured reward is paid out (real value transfer), that it can resolve a dispute, and the 72-hour auto-approval policy. It omits whether the payout can be reversed after the fact, which matters for a destructive money-moving call.

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?

Four short sentences, front-loaded with the action and its payoff, then the edge case and options. The rating clause duplicates the schema and could be dropped, but there is no filler or hedging.

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 two-parameter mutation with full schema coverage and no output schema, the description covers the action, the payout effect, the dispute path, and the auto-approval rule. The remaining gap is failure/reversibility behavior, which an agent would want before triggering an irreversible payment.

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%, so both parameters (quest_id and rating with its 1-5 bounds) are already fully documented. The description's 'Optionally rate the quester 1 to 5' merely restates the schema and adds no new semantics. Baseline 3 is appropriate.

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 ('Approve a submitted quest') plus the concrete consequence ('releases the secured reward to the quester'). It also carves out the disputed-quest case, which separates it from siblings like dispute_quest and cancel_quest without naming them.

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 precondition ('after checking its proof', implying get_proof first) and an explicit additional eligibility case ('also works on a disputed quest to withdraw the dispute and pay'). It stops short of stating when NOT to use it or naming the sibling to prefer instead, so it falls just short of a 5.

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