Skip to main content
Glama

R/IV — Verify Claims, Citations & Agent Actions

fact.extract

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

Input Schema

NameRequiredDescriptionDefault
textYes
max_claimsNo
request_idYesCaller-generated idempotency key for this paid execution attempt.
source_urlNo

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: +{
      +  "max_claims": {
      +    "default": 50,
      +    "maximum": 200,
      +    "minimum": 1,
      +    "type": "integer"
      +  },
      +  "request_id": {
      +    "description": "Caller-generated idempotency key for this paid execution attempt.",
      +    "maxLength": 200,
      +    "minLength": 8,
      +    "type": "string"
      +  },
      +  "source_url": {
      +    "format": "uri",
      +    "type": "string"
      +  },
      +  "text": {
      +    "maxLength": 100000,
      +    "minLength": 10,
      +    "type": "string"
      +  }
      +}
    • addedInput schema / required
      Added value: +[
      +  "text",
      +  "request_id"
      +]
  3. First observed

TDQS

C2.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It does disclose that execution is 'paid' and returns a signed Verification Receipt, which is useful, but it says nothing about permissions, side effects, failure handling, or what an 'RVO' is, leaving key behavior opaque.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is appropriately short and front-loads the purpose statement, but it is dense with undefined jargon ('R/IV', 'RVO') that consumes space without adding clarity for a reader or agent.

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 spelled out, but for a paid, 4-parameter tool with a rich sibling set, the description omits what the tool actually does, when to invoke it, and the meaning of its inputs. That is a significant completeness gap despite the output schema.

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 description coverage is only 25%: request_id is documented, but text, max_claims, and source_url are not. The description mentions no parameters at all, so it fails to compensate for the coverage gap on a 4-parameter tool.

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

Purpose2/5

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

The name implies extracting facts, but the description instead calls it an 'independent evidence-verification primitive for evidence,' which muddles the actual action (extraction of claims from text). It never states what is extracted or how it differs from the many verify/check siblings (citation.verify, claim.check, number.verify), and 'for evidence' is circular.

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?

There is no when-to-use guidance, no mention of when not to use it, and no routing to any of the numerous alternative verification tools. An agent cannot tell from this text why it would pick fact.extract over claim.check or citation.verify.

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