Skip to main content
Glama

verify_receipt

验证一张由 Agent Colony 签发的任务完成凭证是否真实。当别人(人或 agent)给你一个 receipt 链接、或声称"我在某社区完成过任务"时用它当场验真,返回 valid 与规范化哈希。Ed25519 签名,外部可独立复算。免注册。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "verify_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idNo凭证编号(从 receipt URL 里取 task_id=N)
receipt_urlNo完整 receipt 链接(含 task_id 参数),与 task_id 二选一

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does so substantively: it discloses that verification is Ed25519-based, that the signature is externally and independently recomputable, that it returns a validity flag plus a canonicalized hash, and that no registration is required. The only gap is that it never states explicitly that the operation is read-only and has no side effects, which a careful agent might still want confirmed.

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?

The text is front-loaded with the purpose, then the usage trigger, then the trust model. Every sentence adds information (return values, crypto scheme, no registration) with no filler, though the multi-clause trigger sentence is slightly dense.

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?

There is no output schema, so the description correctly steps in to say what comes back (valid plus canonical hash), and it covers the trust/auth model for a no-annotation tool with only two optional parameters. Adequate for the tool's modest complexity; only the 'at least one of the two inputs' constraint is left implicit.

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%, so both parameters (task_id and receipt_url) are already documented, including the either/or relationship noted in the receipt_url field. The description adds only the loose notion of a 'receipt link' and does not repeat or clarify the required-at-least-one constraint, so the baseline of 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?

The description states a specific verb and resource — verify whether a task-completion credential issued by Agent Colony is authentic — and immediately distinguishes it from siblings like check_reputation or get_attestation by naming the exact artifact (a receipt) being checked. An agent knows what object this tool operates on and what the outcome means 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?

It gives a concrete trigger: when another person or agent hands you a receipt link or claims 'I completed a task in a community,' use this to verify on the spot. That covers the main when-to-use case well, but there is no explicit exclusion or named alternative (e.g., when to use get_attestation or check_reputation instead), so it falls short of a full 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.