Skip to main content
Glama

Jid: the trust API for AI agents

Get a verification receipt

get_receipt
Read-onlyIdempotent

Returns a stored, Ed25519-signed verification receipt by receipt_id: the inputs, decision, reasons, fact ids and value hashes, rules version and time of the check. Free; does not count as a check.

Input Schema

NameRequiredDescriptionDefault
receipt_idYesrcpt_... from verify_business

Output Schema

NameRequiredDescriptionDefault
urlYes
verifyNo
signatureYes
statementYesThe signed statement: inputs, decision, reasons, fact ids and value hashes, rules version, time
receipt_idYes
retained_until_aboutNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "receipt_id": {
      +      "type": "string"
      +    },
      +    "retained_until_about": {
      +      "type": "string"
      +    },
      +    "signature": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "alg": {
      +          "type": "string"
      +        },
      +        "canonicalization": {
      +          "type": "string"
      +        },
      +        "kid": {
      +          "type": "string"
      +        },
      +        "sig": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "alg",
      +        "kid",
      +        "sig"
      +      ],
      +      "type": "object"
      +    },
      +    "statement": {
      +      "additionalProperties": {},
      +      "description": "The signed statement: inputs, decision, reasons, fact ids and value hashes, rules version, time",
      +      "properties": {},
      +      "type": "object"
      +    },
      +    "url": {
      +      "type": "string"
      +    },
      +    "verify": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "receipt_id",
      +    "url",
      +    "statement",
      +    "signature"
      +  ],
      +  "type": "object"
      +}
  2. 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 read-only, idempotent, non-destructive behavior, so the bar is lower. The description adds meaningful non-annotation context: the receipt is Ed25519-signed and retrieval is free and does not consume a check. It also lists stored fields, though some of that may overlap with the existing output schema.

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 two tight sentences with zero waste. It front-loads the core operation and appends the cost/quota distinction, making it easy to scan.

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 simple one-parameter read operation with rich annotations and an output schema, the description is complete enough. It explains the retrieval, signature, cost behavior, and stored contents without unnecessary detail.

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% for the single required parameter, so the schema already explains that receipt_id is a 'rcpt_... from verify_business.' The description adds no format or origin detail beyond naming the parameter, making the baseline 3 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?

The description states a specific verb and resource: 'Returns a stored, Ed25519-signed verification receipt by receipt_id.' It lists the exact contents (inputs, decision, reasons, fact ids, value hashes, rules version, time), and 'Free; does not count as a check' implicitly separates it from check-performing siblings like verify_business.

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 rather than stated: the tool retrieves an existing receipt, and 'Free; does not count as a check' hints at when to prefer it over running a new verification. However, there is no explicit when/when-not guidance or named alternative in the description itself; the sibling link only appears in the schema's receipt_id description.

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