Skip to main content
Glama

Molecule Lineage

Verify Molecule receipt signature and payload

verify_receipt
Read-onlyIdempotent

Verify the cryptographic signature on a Molecule outcome receipt (mlin_rcpt_v1...) and, when payload is provided, check that its canonical SHA-256 digest matches the receipt. Free: no key needed.

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": {
      "receipt": "<receipt>"
    },
    "name": "verify_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadNo
receiptYes

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?

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral facts: verification is free, requires no key, and covers both signature validity and digest matching. It does not explain failure semantics (what a mismatch returns) or which trust root the signature is checked against.

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?

A single front-loaded sentence with the action first, the conditional payload behavior second, and the auth/cost note last. No filler wording and nothing repeated from the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description should convey what a verification returns (boolean, digest comparison detail, error on mismatch), and it does not. For a security-verification tool where interpreting a negative result matters, this is a meaningful omission, though the core operation is otherwise well covered.

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 0%, so the description carries the burden, and it does explain that 'payload' is compared via canonical SHA-256 digest and that 'receipt' is the signed receipt string. However, it does not specify the canonicalization form for the payload (object vs. string handling) or the expected receipt encoding, leaving real ambiguity.

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 gives a specific verb and resource ('Verify the cryptographic signature on a Molecule outcome receipt'), names the receipt format prefix (mlin_rcpt_v1...), and adds a second conditional check (canonical SHA-256 digest match). This is clearly distinct from the drug-data siblings such as find_drug or get_price_benchmark.

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 states the condition under which the payload check occurs ('when payload is provided'), which tells the agent how the optional parameter changes behavior. It does not state when not to use it or name an alternative, but the tool's scope is narrow enough that no exclusion is needed.

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.