Skip to main content
Glama

R/IV — Verify Claims, Citations & Agent Actions

provenance.receipt

R/IV provenance.receipt — independent evidence-verification primitive for provenance. Completed paid execution returns an RVO plus signed R/IV Verification Receipt.

Input Schema

NameRequiredDescriptionDefault
request_idYesCaller-generated idempotency key for this paid execution attempt.
source_recordsYes
job_or_artifactYes

Output Schema

NameRequiredDescriptionDefault
costYes
jobIdYes
resultYesR/IV Verification Object with evidence, limitations, verdict and resultHash.
statusYes
receiptYes
verdictYes
requestIdYes
timestampsYes
operationIdYes
schemaVersionYes
operationVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$id": "https://rdiv-production-runtime-production.up.railway.app/schemas/riv-machine-result-v2.json",
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": true,
      +  "description": "Schema of a completed R/IV machine execution. Cryptographic receipt integrity does not independently establish the truth of any underlying conclusion. Free trials may use a separate contract.",
      +  "properties": {
      +    "cost": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "amount": {
      +          "minimum": 0,
      +          "type": "number"
      +        },
      +        "currency": {
      +          "const": "USD"
      +        }
      +      },
      +      "required": [
      +        "currency",
      +        "amount"
      +      ],
      +      "type": "object"
      +    },
      +    "jobId": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "operationId": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "operationVersion": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "receipt": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "issuedAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "jobId": {
      +          "type": "string"
      +        },
      +        "operationId": {
      +          "type": "string"
      +        },
      +        "receiptId": {
      +          "type": "string"
      +        },
      +        "receiptVersion": {
      +          "type": "string"
      +        },
      +        "requestId": {
      +          "type": "string"
      +        },
      +        "resultHash": {
      +          "pattern": "^[a-f0-9]{64}$",
      +          "type": "string"
      +        },
      +        "sha256": {
      +          "pattern": "^[a-f0-9]{64}$",
      +          "type": "string"
      +        },
      +        "signature": {
      +          "pattern": "^[a-f0-9]{64}$",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "receiptVersion",
      +        "receiptId",
      +        "jobId",
      +        "requestId",
      +        "operationId",
      +        "resultHash",
      +        "issuedAt",
      +        "sha256",
      +        "signature"
      +      ],
      +      "type": "object"
      +    },
      +    "requestId": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "result": {
      +      "additionalProperties": true,
      +      "description": "R/IV Verification Object with evidence, limitations, verdict and resultHash.",
      +      "properties": {
      +        "limitations": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "operationId": {
      +          "type": "string"
      +        },
      +        "resultHash": {
      +          "pattern": "^[a-f0-9]{64}$",
      +          "type": "string"
      +        },
      +        "verdict": {
      +          "type": "string"
      +        },
      +        "verificationId": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "operationId",
      +        "verificationId",
      +        "verdict",
      +        "limitations",
      +        "resultHash"
      +      ],
      +      "type": "object"
      +    },
      +    "schemaVersion": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "status": {
      +      "const": "COMPLETED"
      +    },
      +    "timestamps": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "completedAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "completedAt"
      +      ],
      +      "type": "object"
      +    },
      +    "verdict": {
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "schemaVersion",
      +    "requestId",
      +    "jobId",
      +    "operationId",
      +    "operationVersion",
      +    "status",
      +    "verdict",
      +    "result",
      +    "receipt",
      +    "cost",
      +    "timestamps"
      +  ],
      +  "title": "R/IV Machine Verification Result v2 - authenticated paid execution",
      +  "type": "object",
      +  "x-riv-receipt-policy": {
      +    "integrity": "server-side HMAC verification required for v1 receipts",
      +    "meaning": "signed provenance and execution integrity; not evidence that an underlying claim is true"
      +  },
      +  "x-riv-status": "public-contract-v2-live-machine-completed-only"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties
      Added value: +{
      +  "job_or_artifact": {
      +    "type": "object"
      +  },
      +  "request_id": {
      +    "description": "Caller-generated idempotency key for this paid execution attempt.",
      +    "maxLength": 200,
      +    "minLength": 8,
      +    "type": "string"
      +  },
      +  "source_records": {
      +    "items": {
      +      "type": "object"
      +    },
      +    "maxItems": 200,
      +    "type": "array"
      +  }
      +}
    • addedInput schema / required
      Added value: +[
      +  "job_or_artifact",
      +  "source_records",
      +  "request_id"
      +]
  3. First observed

TDQS

C2.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, but it does disclose that execution is paid and that completion yields an RVO plus a signed receipt. It omits failure/error behavior, prerequisites, and whether runs are idempotent beyond the schema's request_id hint.

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 compact sentences, front-loaded with the tool identity and the return behavior. Efficient sizing, though the dense jargon reduces immediate readability.

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?

An output schema exists, so return values needn't be explained, but for a complex paid verification primitive with nested object inputs and two undocumented required parameters, the description should cover prerequisites, failure modes, and the trial alternative — none of which appear.

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?

Schema coverage is only 33% — request_id is documented, but job_or_artifact and source_records (both required, including a nested object and a 200-item array) are undocumented in both schema and description. The description adds no meaning for these parameters, so the coverage gap is uncompensated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific domain action (evidence verification producing a provenance receipt) and implies a paid-vs-trial distinction against provenance.receipt.trial. However, the unexplained acronyms 'R/IV' and 'RVO' leave the actual resource and output ambiguous, so an agent outside the domain cannot fully pin down what is verified or returned.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use guidance or exclusions are given. The phrase 'paid execution' faintly implies this is the paid counterpart to provenance.receipt.trial, but the description never states that relationship or when one should be chosen over the other.

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