Skip to main content
Glama

SNHP — negotiation rules your AI can't break

Verify a deal receipt

verify_deal_receipt
Read-only

Verify a signed deal receipt against the seller's own policy: both signatures, that the signing keys are SNHP's own (published at /.well-known/ucp), the policy digest, and every rule re-checked from the package. Returns {ok, problems, checks, signed_by_snhp, signatures}. Free, no model call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flagsNoThe account record used for the deal, if any.
policyYesThe policy the deal was made under.
receiptYesThe receipt returned with a deal.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
errorNo
checksNo
problemsNo
signaturesNo
signer_kidsNo
signed_by_snhpNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / signatures
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Signatures"
      +}
    • addedOutput schema / properties / signed_by_snhp
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Signed By Snhp"
      +}
    • addedOutput schema / properties / signer_kids
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Signer Kids"
      +}
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuinely useful context beyond that: it is 'Free, no model call', and the signing keys come from SNHP's published /.well-known/ucp endpoint. It does not discuss failure modes beyond the names of the problem categories.

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?

Two dense sentences, front-loaded with the verification scope, then cost and return shape. Listings of return fields ('{ok, problems, checks, signed_by_snhp, signatures}') is slightly redundant given an output schema exists, but the text is tight and earns most of its place.

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?

With an output schema, annotations, and fully documented parameters, the description carries little remaining burden and is essentially complete. Repeating the return object is harmless but unnecessary; nothing an agent needs to invoke it 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% and the description largely mirrors it ('the seller's own policy', 'the receipt returned with a deal'). It adds no syntax, format, or shape detail beyond what the schema already provides, so the baseline 3 is appropriate.

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?

States a precise verb ('Verify') and resource ('signed deal receipt') and enumerates exactly what is checked: both signatures, key ownership against /.well-known/ucp, policy digest, and rule re-checks. An agent can tell this apart from check_offer_policy/compile_offer_policy at a glance.

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 by the domain ('the receipt returned with a deal', 'the policy the deal was made under'), but there is no explicit when-to-use, when-not-to-use, or named alternative among the siblings (check_offer_policy, compile_offer_policy). Adequate but leaves routing to 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.