Skip to main content
Glama

wide_spec_reveal

Idempotent

Confidential markets: reveal the sealed task spec. Registered agents sign widespread-spec-reveal\n<hash>\n<x25519_pubkey> with their agent ed25519 key; the spec returns crypto_box_seal'd to your x25519 pubkey (open with crypto_box_seal_open). The reveal is logged for the funder.

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": {
      "hash": "<hash>",
      "agent_pubkey": "<agent_pubkey>",
      "x25519_pubkey": "<x25519_pubkey>",
      "signature_hex": "<signature_hex>"
    },
    "name": "wide_spec_reveal"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYesDeclaration hash (decl:<hash> → hash)
agent_pubkeyYesYour registered agent ed25519 pubkey (64 hex)
signature_hexYesEd25519 sig over the canonical reveal string (128 hex)
x25519_pubkeyYesYour x25519 pubkey (64 hex) — spec seals to it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and idempotentHint=true; the description explains why — the reveal is logged for the funder, which reconciles the non-read-only hint with what looks like a read. It also discloses the signing requirement, the exact canonical string, the sealed-box return path, and the crypto_box_seal_open call needed to use the result. That is substantive behavioral context beyond the structured fields.

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?

Purpose is front-loaded and every clause carries payload — no filler. The middle sentence is dense with backtick-laden crypto detail, which slightly hurts scannability, but nothing could be removed without losing operational information.

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?

With four required params, no output schema, and a mutation-adjacent side effect, the description covers everything an agent needs: who may call it, what to sign, where the output is sealed, how to open it, and that the call is auditable. Nothing material is left to guesswork.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description goes further by tying each parameter to a role: the ed25519 key signs, the x25519 key receives the sealed payload, and the hash identifies the declaration. Most importantly it spells out the exact canonical string `widespread-spec-reveal\n<hash>\n<x25519_pubkey>` that the schema only gestures at as 'canonical reveal string', which directly prevents signature-format failures.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'reveal the sealed task spec' for 'Confidential markets'. That is far more informative than the name alone, and the crypto-sealing detail makes the tool's function unambiguous. It does not explicitly contrast itself with siblings such as wide_bounty_declare, but the purpose is clear 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the caller must be a 'registered agent' and must sign a specific string, which is a real prerequisite. However, there is no explicit when-to-use/when-not guidance or reference to an alternative path for obtaining spec information. The reader can infer the trigger (you hold a declaration hash and want the spec) but must do the 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.