Skip to main content
Glama

MergeLock

Verify MergeLock Receipt

mergelock_verify_receipt
Read-onlyIdempotent

Use when someone asks to cryptographically verify a mergelock-receipt (v1 or v2) JSON object or hash chain against MergeLock's official Ed25519 public keys without source code access.

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

Input Schema

NameRequiredDescriptionDefault
receiptNoA single mergelock-receipt (v1 or v2) JSON object to verify.
receiptsNoOptional ordered list of mergelock-receipt objects for chain verification (up to 100).
override_attestationNoOptional mergelock-override-attestation.v1 JSON object (standalone or paired with receipt).

Output Schema

NameRequiredDescriptionDefault
validYesWhether the Ed25519 signature, canonical payload digest, and chain links verified against official MergeLock public keys.
key_idNoOfficial MergeLock Ed25519 public key identifier that verified the signature.
reasonNoVerification outcome or failure explanation.
schemaNoDocument schema identifier when verifying a single receipt or override attestation.
sourceNoOrigin transport recorded inside a verified receipt.
receipt_idNoReceipt identifier extracted from the verified receipt.
override_idNoOverride attestation identifier when an override attestation is verified.
receipt_sha256NoHex SHA-256 digest of the canonical receipt payload.
verified_countNoNumber of consecutive receipts verified in a receipt hash chain.
broken_at_indexNoZero-based index where a receipt hash chain failed verification when valid is false.
attestation_sha256NoHex SHA-256 digest of the canonical override attestation payload.
override_receipt_idNoBlocked receipt identifier bound to a verified override attestation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds useful context that verification happens against official Ed25519 public keys 'without source code access', clarifying it is a self-contained trust check. It says nothing about failure behavior, error output, or limits on chain length beyond the schema, so a 3 is appropriate.

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 that opens with the use trigger and then packs purpose, supported versions, verification basis, and the no-source-code condition, with no filler.

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?

An output schema exists, so return values need not be explained, and annotations cover safety; the description supplies the trigger and trust model. It is slightly thin on how the optional receipt/receipts/override_attestation parameters interact for a nested-object tool, but nothing essential for a correct call is missing.

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 all three parameters are documented in the schema itself and the baseline is 3. The description's mention of 'v1 or v2 JSON object or hash chain' loosely maps to receipt and receipts, but it adds no format, mutual-exclusivity, or combination guidance beyond the schema.

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?

States a specific verb ('cryptographically verify') and resource ('mergelock-receipt (v1 or v2) JSON object or hash chain'), plus the verification basis (MergeLock's official Ed25519 public keys). There are no sibling tools to differentiate from, so the only thing keeping this from a 5 is that it does not spell out the outcome (e.g., what a valid/invalid verification looks like).

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?

Leads with an explicit trigger: 'Use when someone asks to cryptographically verify...', which tells the agent exactly when to reach for it. It does not state when NOT to use it, nor does it say how to choose between the receipt, receipts, and override_attestation parameters, so it falls short of full when/when-not guidance.

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