Skip to main content
Glama

Proof for a value

proof_get
Read-onlyIdempotent

Return the full proof behind a value: the proof itself (filing accession, form and filing date, XBRL taxonomy, tag and dimensions, source URL, page and anchor), the kind (std for a standardized value, ar for a raw as-reported fact), the value object, the concept it maps to, the company, the filing summary, the raw as-reported facts the standardized value derives from, and the derivation (method, calc_type and the pipeline run). For a ratio (kind "ratio") it also returns the formula and the standardized input values, each with its own proof. Every value object carries proof.id; pass it here when a person asks "where does this number come from" or before quoting a figure in a report. A human page exists at meta.proof_base + proof_id.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "proof_id": "<proof_id>"
    },
    "name": "proof_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
proof_idYesThe proof id from a value object, for example p_01JC....

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changed
    • removedInput schema / examples
      Removed value: -[
      -  {
      -    "proof_id": "p_01JCA4Q7Z3K8M2N5R9T1V6X0Y2"
      -  }
      -]
    • removedInput schema / properties / proof_id / examples
      Removed value: -[
      -  "p_01JCA4Q7Z3K8M2N5R9T1V6X0Y2"
      -]
    • removedOutput schema / description
      Removed value: -"The FinancialMD envelope (docs/API.md section 2): data plus meta (request_id, as_of knowledge time, matched company, coverage, pipeline_version, licence, terms, proof_base). Every numeric value inside data is an object with value, unit, currency, period, known interval, restated flag, method and a proof pointing at the filing. On failure the result is isError with an error object instead."
    • removedOutput schema / properties / data / description
      Removed value: -"{ proof, kind (std or ar), value, concept { concept_id, label, statement } or null, company, filing, derived_from (raw facts), derivation { method, calc_type, run } or null }."
    • removedOutput schema / properties / data / properties / proof / description
      Removed value: -"Where a value comes from: filing accession, form, filing date, taxonomy and tag, source URL, page and anchor."
    • removedOutput schema / properties / data / properties / proof / properties / inputs / description
      Removed value: -"For derived values (ratios): the proof ids of the inputs."
    • removedOutput schema / properties / data / properties / value / description
      Removed value: -"A proven number: value, unit, currency, decimals, period, known interval, restated, method, calc_type, proof."
    • removedOutput schema / properties / data / properties / value / properties / proof / description
      Removed value: -"Where a value comes from: filing accession, form, filing date, taxonomy and tag, source URL, page and anchor."
    • removedOutput schema / properties / data / properties / value / properties / proof / properties / inputs / description
      Removed value: -"For derived values (ratios): the proof ids of the inputs."
    • removedOutput schema / properties / error / description
      Removed value: -"Present only on isError results: the API error code and message plus remedy hints."
    • removedOutput schema / properties / error / properties
      Removed value: -{
      -  "available_datasets": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "code": {
      -    "type": "string"
      -  },
      -  "docs": {
      -    "type": "string"
      -  },
      -  "message": {
      -    "type": "string"
      -  },
      -  "request_id": {
      -    "type": "string"
      -  },
      -  "retry_after": {
      -    "type": [
      -      "integer",
      -      "string"
      -    ]
      -  },
      -  "status": {
      -    "type": "integer"
      -  }
      -}
    • removedOutput schema / properties / meta / description
      Removed value: -"Request metadata: request_id, as_of, company resolution, coverage, pipeline_version, licence, terms, proof_base."
    • removedOutput schema / properties / meta / properties
      Removed value: -{
      -  "as_of": {
      -    "type": "string"
      -  },
      -  "attribution": {
      -    "description": "Citations a source requires on anything shown from the answer.",
      -    "items": {
      -      "properties": {
      -        "source": {
      -          "type": "string"
      -        },
      -        "text": {
      -          "type": "string"
      -        },
      -        "url": {
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "company": {
      -    "properties": {
      -      "cik": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "fmd_id": {
      -        "type": "string"
      -      },
      -      "matched_by": {
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "coverage": {
      -    "properties": {
      -      "from": {
      -        "type": "string"
      -      },
      -      "periods": {
      -        "type": "integer"
      -      },
      -      "to": {
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "licence": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "pipeline_version": {
      -    "type": "string"
      -  },
      -  "proof_base": {
      -    "type": "string"
      -  },
      -  "request_id": {
      -    "type": "string"
      -  },
      -  "terms": {
      -    "type": "string"
      -  }
      -}
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, closed-world and non-destructive, so the safety profile is covered. The description adds genuinely new behavioral context: ratio proofs recursively include standardized inputs each with their own proof, and a human-facing page exists at meta.proof_base + proof_id. It says nothing about payload size or whether recursion is bounded, which matters for a nested-proof response.

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?

The triggering guidance is front-loaded and the ratio and human-page notes are high value, but the long field enumeration (accession, form, taxonomy, tag, dimensions, source URL, page, anchor, value object, concept, company, filing summary, raw facts, pipeline run) largely restates the output schema that already exists. That middle clause is the least efficient part of the text.

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?

For a one-parameter read tool with an output schema and full annotations, the description is more than sufficient — it explains the std/ar distinction, ratio recursion, and the linked human page. The only real gap is that the recursive-nesting depth/size of a ratio proof is left unstated.

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

Parameters4/5

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

The single parameter has full schema coverage, so the baseline is a 3. The description earns one more point by explaining where proof_id comes from ("Every value object carries proof.id; pass it here"), which is provenance the schema string alone only implies.

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 definition opens with a specific verb+resource ("Return the full proof behind a value") and then enumerates exactly what a proof contains — accession, form, taxonomy, tag, dimensions, source URL, page/anchor — plus the kind taxonomy (std/ar) and ratio behavior. An agent knows precisely what this returns and cannot confuse it with a listing or search tool.

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?

It gives concrete triggering conditions: when a person asks "where does this number come from" or before quoting a figure in a report. It also states the entry condition (every value object carries proof.id). It does not name a sibling alternative or a when-not case, so it stops short of a 5.

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