Skip to main content
Glama

GENESIS ProofRelay MCP Verifier

Build unsigned ProofRelay bundle draft

proofrelay.build_bundle_draft
Read-onlyIdempotent

Build a canonical, unsigned, non-attesting ProofRelay bundle draft from public-safe event hashes. The public MCP server does not sign or certify caller-provided facts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
draftYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • removedInput schema / $defs
      Removed value: -{
      -  "BundleDraftEventInput": {
      -    "description": "Public-safe event draft used to build an unsigned ProofRelay bundle.",
      -    "properties": {
      -      "event_type": {
      -        "description": "Public-safe event category.",
      -        "title": "Event Type",
      -        "type": "string"
      -      },
      -      "payload": {
      -        "additionalProperties": true,
      -        "description": "Minimized metadata and hashes only; never include secrets.",
      -        "title": "Payload",
      -        "type": "object"
      -      },
      -      "policy_digest": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Optional policy digest.",
      -        "title": "Policy Digest"
      -      },
      -      "receipt_id": {
      -        "description": "Stable receipt identifier.",
      -        "title": "Receipt Id",
      -        "type": "string"
      -      },
      -      "service": {
      -        "description": "Service or agent represented by the event.",
      -        "title": "Service",
      -        "type": "string"
      -      },
      -      "ts_ms": {
      -        "description": "Event timestamp in Unix milliseconds.",
      -        "title": "Ts Ms",
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "receipt_id",
      -      "ts_ms",
      -      "service",
      -      "event_type"
      -    ],
      -    "title": "BundleDraftEventInput",
      -    "type": "object"
      -  },
      -  "BundleDraftInput": {
      -    "description": "Input for a non-attesting, unsigned ProofRelay bundle draft.",
      -    "properties": {
      -      "created_ts_ms": {
      -        "description": "Bundle creation timestamp in Unix milliseconds.",
      -        "title": "Created Ts Ms",
      -        "type": "integer"
      -      },
      -      "events": {
      -        "description": "Receipt events in any order.",
      -        "items": {
      -          "$ref": "#/$defs/BundleDraftEventInput"
      -        },
      -        "minItems": 1,
      -        "title": "Events",
      -        "type": "array"
      -      },
      -      "payment_context": {
      -        "anyOf": [
      -          {
      -            "$ref": "#/$defs/PaymentProofEnvelopeInput"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Optional normalized payment context to attach to the first event."
      -      },
      -      "service": {
      -        "description": "Service represented by the bundle.",
      -        "title": "Service",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "service",
      -      "created_ts_ms",
      -      "events"
      -    ],
      -    "title": "BundleDraftInput",
      -    "type": "object"
      -  },
      -  "PaymentProofEnvelopeInput": {
      -    "description": "Rail-agnostic payment proof hashes for a ProofRelay evidence profile.",
      -    "properties": {
      -      "amount": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Public-safe amount label, if known.",
      -        "title": "Amount"
      -      },
      -      "challenge_or_session_hash": {
      -        "description": "SHA-256 hash of the challenge, checkout session, or quote.",
      -        "title": "Challenge Or Session Hash",
      -        "type": "string"
      -      },
      -      "currency": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Currency or unit, if known.",
      -        "title": "Currency"
      -      },
      -      "expires_at": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Optional ISO-8601 expiry time.",
      -        "title": "Expires At"
      -      },
      -      "non_secret_refs": {
      -        "description": "Non-secret references such as hashed event IDs or endpoint names.",
      -        "items": {
      -          "type": "string"
      -        },
      -        "title": "Non Secret Refs",
      -        "type": "array"
      -      },
      -      "payment_proof_or_charge_hash": {
      -        "description": "SHA-256 hash of the payment proof, charge, or facilitator result.",
      -        "title": "Payment Proof Or Charge Hash",
      -        "type": "string"
      -      },
      -      "protocol": {
      -        "description": "Public-safe protocol name for the paid action lifecycle.",
      -        "examples": [
      -          "stripe_checkout_session_webhook"
      -        ],
      -        "title": "Protocol",
      -        "type": "string"
      -      },
      -      "provider": {
      -        "description": "Payment rail or entitlement provider, for example stripe or x402.",
      -        "examples": [
      -          "stripe_agentic_commerce"
      -        ],
      -        "title": "Provider",
      -        "type": "string"
      -      },
      -      "replay_key": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Public-safe replay key or hash.",
      -        "title": "Replay Key"
      -      },
      -      "request_hash": {
      -        "description": "SHA-256 hash of the request.",
      -        "title": "Request Hash",
      -        "type": "string"
      -      },
      -      "response_hash": {
      -        "description": "SHA-256 hash of the delivered resource or service response.",
      -        "title": "Response Hash",
      -        "type": "string"
      -      },
      -      "settlement_or_entitlement_hash": {
      -        "description": "SHA-256 hash of the settlement, receipt, or entitlement token.",
      -        "title": "Settlement Or Entitlement Hash",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "provider",
      -      "protocol",
      -      "request_hash",
      -      "challenge_or_session_hash",
      -      "payment_proof_or_charge_hash",
      -      "settlement_or_entitlement_hash",
      -      "response_hash"
      -    ],
      -    "title": "PaymentProofEnvelopeInput",
      -    "type": "object"
      -  }
      -}
    • addedInput schema / properties / draft / $defs
      Added value: +{
      +  "BundleDraftEventInput": {
      +    "properties": {
      +      "event_type": {
      +        "type": "string"
      +      },
      +      "payload": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "policy_digest": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "receipt_id": {
      +        "type": "string"
      +      },
      +      "service": {
      +        "type": "string"
      +      },
      +      "ts_ms": {
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "receipt_id",
      +      "ts_ms",
      +      "service",
      +      "event_type"
      +    ],
      +    "type": "object"
      +  },
      +  "PaymentProofEnvelopeInput": {
      +    "properties": {
      +      "amount": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "challenge_or_session_hash": {
      +        "type": "string"
      +      },
      +      "currency": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "expires_at": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "non_secret_refs": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "payment_proof_or_charge_hash": {
      +        "type": "string"
      +      },
      +      "protocol": {
      +        "type": "string"
      +      },
      +      "provider": {
      +        "type": "string"
      +      },
      +      "replay_key": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "request_hash": {
      +        "type": "string"
      +      },
      +      "response_hash": {
      +        "type": "string"
      +      },
      +      "settlement_or_entitlement_hash": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "provider",
      +      "protocol",
      +      "request_hash",
      +      "challenge_or_session_hash",
      +      "payment_proof_or_charge_hash",
      +      "settlement_or_entitlement_hash",
      +      "response_hash"
      +    ],
      +    "type": "object"
      +  }
      +}
    • removedInput schema / properties / draft / $ref
      Removed value: -"#/$defs/BundleDraftInput"
    • addedInput schema / properties / draft / properties
      Added value: +{
      +  "created_ts_ms": {
      +    "type": "integer"
      +  },
      +  "events": {
      +    "items": {
      +      "$ref": "#/$defs/BundleDraftEventInput"
      +    },
      +    "minItems": 1,
      +    "type": "array"
      +  },
      +  "payment_context": {
      +    "anyOf": [
      +      {
      +        "$ref": "#/$defs/PaymentProofEnvelopeInput"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "service": {
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / draft / required
      Added value: +[
      +  "service",
      +  "created_ts_ms",
      +  "events"
      +]
    • addedInput schema / properties / draft / type
      Added value: +"object"
    • removedInput schema / title
      Removed value: -"build_bundle_draftArguments"
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already indicate readOnly, idempotent, and non-destructive behavior. The description adds that it 'does not sign or certify caller-provided facts' and only accepts 'public-safe event hashes', providing extra transparency about limitations and data handling beyond the annotations.

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?

The description is concise, consisting of two sentences that deliver the essential purpose and key behavioral constraint without unnecessary detail or verbosity.

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

Completeness2/5

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

Despite having an output schema, the tool's input is a highly nested object with multiple required fields (service, created_ts_ms, events) and a complex payment_context. The description omits critical guidance on constructing the 'draft' parameter, making it insufficient for an agent to use correctly in real scenarios.

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

Parameters2/5

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

The schema describes a single complex 'draft' parameter with many required and optional fields, but schema coverage in the description is 0%. The description only hints at 'public-safe event hashes' without explaining the object structure, required fields, or semantics of nested objects. Given low coverage, the description does not compensate adequately.

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 clearly states the action (build) and the resource (canonical, unsigned, non-attesting ProofRelay bundle draft), and specifies that it operates on 'public-safe event hashes'. This distinguishes it from sibling tools that verify, attest, or produce signed bundles.

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?

The description implies usage when a draft bundle is needed without signing or attestation, and mentions 'public-safe' inputs, which guides context. However, it does not explicitly contrast with alternative build tools or state when not to use it, leaving some ambiguity.

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