Skip to main content
Glama

popcorn_witness

Destructive

Witness a SHA-256 digest and fresh caller nonce at a time. Defaults to a free unpaid 402 challenge. One fresh receipt costs exactly $0.001 USDC on Base; requires owner approval, approve_payment:true, and caller-signed payment_signature. Keep work and wallet keys local. No automatic retry. Evidence does not authorize or prove execution of an action.

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": {
      "digest": "<digest>",
      "nonce": "<nonce>"
    },
    "name": "popcorn_witness"
  }
}

Input Schema

NameRequiredDescriptionDefault
nonceYesA fresh caller nonce: 43 characters, letters, digits, dash and underscore.
digestYesThe SHA-256 digest to witness, in the 43 character form the schema pattern shows.
approve_paymentNoSet to true to approve paying exactly $0.001 USDC on Base for this single call. Requires payment_signature.
payment_signatureNoCaller-signed x402 PAYMENT-SIGNATURE. Never send a wallet private key. Requires approve_payment:true for this single call.
previous_attestation_digestNoOptional. The digest of the previous attestation to chain from, or null.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / approve_payment / description
      Added value: +"Set to true to approve paying exactly $0.001 USDC on Base for this single call. Requires payment_signature."
    • addedInput schema / properties / digest / description
      Added value: +"The SHA-256 digest to witness, in the 43 character form the schema pattern shows."
    • addedInput schema / properties / nonce / description
      Added value: +"A fresh caller nonce: 43 characters, letters, digits, dash and underscore."
    • addedInput schema / properties / previous_attestation_digest / description
      Added value: +"Optional. The digest of the previous attestation to chain from, or null."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, the description discloses pricing ($0.001 USDC on Base), the approval/signature requirements, that there is no automatic retry, that key material must stay local, and that the output is evidence only and does not prove execution. That is substantive behavioral context not present in the structured fields; it falls short of 5 because it never explains what the returned receipt/attestation actually contains or why the operation is flagged destructive.

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?

It is dense and front-loads what the tool does before price and payment conditions, with no filler sentences. The telegraphic fragments ('Keep work and wallet keys local', 'No automatic retry') are a bit clipped and their placement after pricing makes the ordering slightly uneven, but nothing is redundant.

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 payment-gated, open-world call with no output schema, the description covers cost, approval flow, retry behavior, key handling, and the semantic limit of the result. What is missing (return shape) is a minor gap rather than something that would cause an agent to call it incorrectly.

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 every parameter is already documented, and the description largely restates the payment coupling (approve_payment:true plus payment_signature) that the schema already states. It adds the exact price and the local-key safety note, but nothing about digest/nonce format or the chaining parameter beyond what the schema provides; baseline 3 applies.

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 names a specific verb and object: witnessing a SHA-256 digest plus a fresh caller nonce at a time, which is concrete enough to distinguish it from verification or hashing siblings in spirit. However, it never names a sibling (popcorn_hash, popcorn_verify, popcorn_time) or states what makes witnessing different from them, and 'witness' is non-standard jargon that an agent must interpret.

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?

It describes the two modes of use (free unpaid 402 challenge by default vs. a $0.001 paid receipt) and the gating conditions for the paid path, which is useful conditional guidance. But it gives no when-to-use vs. when-not-to-use guidance relative to the sibling tools, so an agent must infer which tool in the family to call.

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.