Skip to main content
Glama

Verify a number against the filing

verify_value
Read-onlyIdempotent

Check a number you have (from a model, a news story, a spreadsheet or memory) against what the company filed. Give the company, the concept (a concept_id or fiscal alias from metrics_list, for example income_statement_total_revenues or income_statement_net_income), the period (fiscal_year plus fiscal_period, or a period string such as "FY2024", "Q4 2024" or a period end date) and the value in whole currency units; FinancialMD returns the filed value object with its proof, the delta (absolute and percent), the tolerance (half a unit at the filed precision), a scale_hint when the number would match after a power-of-ten scale (millions given as units), and a verdict: matches, differs, or unknown (company and concept exist but no fact matches the period). Optionally name the source so the audit trail records it, and as_of to verify against what was known on a date. Use it before repeating a figure that came from a model, an article or memory.

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": {
      "company": "<company>",
      "concept": "<concept>",
      "value": "<value>"
    },
    "name": "verify_value"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoKnowledge date (YYYY-MM-DD or RFC 3339): the answer is what was known at that instant. Omit for the current view.
valueYesThe number to check, in the concept's base unit (whole currency units, not millions).
periodNoAlternative to fiscal_year and fiscal_period: "FY2024", "Q4 2024", "2024Q4", or a period end date "2024-09-28".
sourceNoOptional: where your number came from, recorded in the audit trail.
companyYesCompany: "ticker:AAPL" (or bare "AAPL", or "ticker:AAPL.XNAS"), "cik:320193", "fmd_01H...", or for a non-SEC EU/UK issuer "lei:<LEI>".
conceptYesConcept id or fiscal alias from metrics_list, for example income_statement_total_revenues, income_statement_net_income, balance_sheet_total_assets, cash_flow_free_cash_flow.
fiscal_yearNoFiscal year of the period to check (use with fiscal_period, or give period instead).
fiscal_periodNoFiscal period label: FY, Q1 to Q4 (or H1, H2). Defaults to FY when fiscal_year is given alone.

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changed
    • removedInput schema / examples
      Removed value: -[
      -  {
      -    "company": "ticker:AAPL",
      -    "concept": "income_statement_total_revenues",
      -    "fiscal_period": "FY",
      -    "fiscal_year": 2024,
      -    "source": "analyst note",
      -    "value": 391035000000
      -  },
      -  {
      -    "company": "ticker:AAPL",
      -    "concept": "income_statement_net_income",
      -    "period": "Q4 2024",
      -    "value": 14736000000
      -  }
      -]
    • changedInput schema / properties / as_of / description
      Previous value: -"Knowledge date or timestamp (YYYY-MM-DD or RFC 3339). The answer is what FinancialMD knew at that instant: only facts whose known interval contains as_of. Omit for the current view."New value: +"Knowledge date (YYYY-MM-DD or RFC 3339): the answer is what was known at that instant. Omit for the current view."
    • removedInput schema / properties / as_of / examples
      Removed value: -[
      -  "2024-11-15",
      -  "2025-02-01T00:00:00Z"
      -]
    • changedInput schema / properties / company / description
      Previous value: -"Company identifier: a FinancialMD id (\"fmd_01H...\"), an SEC CIK (\"cik:320193\"), or a ticker (\"ticker:AAPL\", optionally with the MIC \"ticker:AAPL.XNAS\"). A bare ticker like \"AAPL\" is accepted and sent as ticker:AAPL. An issuer on an EU or UK regulated market that does not file with the SEC has no CIK: pass its LEI (\"lei:IOG4E947OATN0KJYSD45\") or its fmd_ id."New value: +"Company: \"ticker:AAPL\" (or bare \"AAPL\", or \"ticker:AAPL.XNAS\"), \"cik:320193\", \"fmd_01H...\", or for a non-SEC EU/UK issuer \"lei:<LEI>\"."
    • removedInput schema / properties / company / examples
      Removed value: -[
      -  "ticker:AAPL",
      -  "cik:320193",
      -  "fmd_01HZX8Q3K9W2M4N6P8R0T2V4X6"
      -]
    • removedInput schema / properties / concept / examples
      Removed value: -[
      -  "income_statement_total_revenues",
      -  "income_statement_net_income",
      -  "cash_flow_free_cash_flow"
      -]
    • removedInput schema / properties / period / examples
      Removed value: -[
      -  "FY2024",
      -  "Q4 2024",
      -  "2024-09-28"
      -]
    • 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: -"{ verdict, submitted { value, source }, filed (value object with proof) or null, delta { absolute, percent } or null, tolerance, scale_hint, concept { concept_id, label } }."
    • changedOutput schema / properties / data / properties / filed / anyOf
      Previous value: -[
      -  {
      -    "description": "A proven number: value, unit, currency, decimals, period, known interval, restated, method, calc_type, proof.",
      -    "properties": {
      -      "calc_type": {
      -        "type": "string"
      -      },
      -      "currency": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "decimals": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "known": {
      -        "properties": {
      -          "from": {
      -            "type": "string"
      -          },
      -          "to": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "method": {
      -        "type": "string"
      -      },
      -      "period": {
      -        "type": "object"
      -      },
      -      "proof": {
      -        "description": "Where a value comes from: filing accession, form, filing date, taxonomy and tag, source URL, page and anchor.",
      -        "properties": {
      -          "accession": {
      -            "type": "string"
      -          },
      -          "anchor": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "dims": {},
      -          "filed": {
      -            "type": "string"
      -          },
      -          "form": {
      -            "type": "string"
      -          },
      -          "id": {
      -            "type": "string"
      -          },
      -          "inputs": {
      -            "description": "For derived values (ratios): the proof ids of the inputs.",
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "page": {
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "source_url": {
      -            "type": "string"
      -          },
      -          "tag": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "taxonomy": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "restated": {
      -        "type": "boolean"
      -      },
      -      "unit": {
      -        "type": "string"
      -      },
      -      "value": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "calc_type": {
      +        "type": "string"
      +      },
      +      "currency": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "decimals": {
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "known": {
      +        "properties": {
      +          "from": {
      +            "type": "string"
      +          },
      +          "to": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "method": {
      +        "type": "string"
      +      },
      +      "period": {
      +        "type": "object"
      +      },
      +      "proof": {
      +        "properties": {
      +          "accession": {
      +            "type": "string"
      +          },
      +          "anchor": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "dims": {},
      +          "filed": {
      +            "type": "string"
      +          },
      +          "form": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "inputs": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "page": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "source_url": {
      +            "type": "string"
      +          },
      +          "tag": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "taxonomy": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "restated": {
      +        "type": "boolean"
      +      },
      +      "unit": {
      +        "type": "string"
      +      },
      +      "value": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • 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. Changed3 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "company": "ticker:AAPL",
      -    "concept": "revenue",
      -    "fiscal_period": "FY",
      -    "fiscal_year": 2024,
      -    "source": "analyst note",
      -    "value": 391035000000
      -  },
      -  {
      -    "company": "ticker:AAPL",
      -    "concept": "net_income",
      -    "period": "Q4 2024",
      -    "value": 14736000000
      -  }
      -]New value: +[
      +  {
      +    "company": "ticker:AAPL",
      +    "concept": "income_statement_total_revenues",
      +    "fiscal_period": "FY",
      +    "fiscal_year": 2024,
      +    "source": "analyst note",
      +    "value": 391035000000
      +  },
      +  {
      +    "company": "ticker:AAPL",
      +    "concept": "income_statement_net_income",
      +    "period": "Q4 2024",
      +    "value": 14736000000
      +  }
      +]
    • changedInput schema / properties / concept / description
      Previous value: -"Concept id or fiscal alias from metrics_list, for example revenue, net_income, total_assets, free_cash_flow."New value: +"Concept id or fiscal alias from metrics_list, for example income_statement_total_revenues, income_statement_net_income, balance_sheet_total_assets, cash_flow_free_cash_flow."
    • changedInput schema / properties / concept / examples
      Previous value: -[
      -  "revenue",
      -  "net_income",
      -  "free_cash_flow"
      -]New value: +[
      +  "income_statement_total_revenues",
      +  "income_statement_net_income",
      +  "cash_flow_free_cash_flow"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / company / description
      Previous value: -"Company identifier: a FinancialMD id (\"fmd_01H...\"), an SEC CIK (\"cik:320193\"), or a ticker (\"ticker:AAPL\", optionally with the MIC \"ticker:AAPL.XNAS\"). A bare ticker like \"AAPL\" is accepted and sent as ticker:AAPL."New value: +"Company identifier: a FinancialMD id (\"fmd_01H...\"), an SEC CIK (\"cik:320193\"), or a ticker (\"ticker:AAPL\", optionally with the MIC \"ticker:AAPL.XNAS\"). A bare ticker like \"AAPL\" is accepted and sent as ticker:AAPL. An issuer on an EU or UK regulated market that does not file with the SEC has no CIK: pass its LEI (\"lei:IOG4E947OATN0KJYSD45\") or its fmd_ id."
  4. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint false), and the description goes considerably further: the return payload (filed value object with proof, absolute and percent delta, tolerance of half a unit, scale_hint, verdict vocabulary matches/differs/unknown) and the meaning of the "unknown" edge case. The one disclosed behavioral nuance not in annotations, the audit trail recorded via source, is valuable context for a read-only tool.

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?

Front-loaded with the action, then the required inputs, then the return shape and the when-to-use line. It is dense and long for a single paragraph, and the return-shape clause partly duplicates the output schema, but no sentence is filler.

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?

Covers inputs, the alternative period forms, the optional provenance and as_of parameters, and the verdict semantics including the ambiguous "unknown" case, for an 8-parameter tool. Even though an output schema exists, the description's verdict and scale_hint explanation removes the need for the agent to reason about interpretation.

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?

With 100% schema description coverage the baseline is 3, and the description earns one step above by framing parameters functionally: value must be in whole currency units (not millions), concept may be a concept_id or a fiscal alias from metrics_list with concrete examples, and period accepts a string form as an alternative to fiscal_year plus fiscal_period. It restates some schema content but ties it to the verification contract.

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 specific verb and resource ("Check a number... against what the company filed") and enumerates the exact input domains the number may come from (model, news story, spreadsheet, memory). It is clearly distinguishable from retrieval siblings like filing_facts or metrics_list because its job is verification, not listing.

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?

Gives an explicit trigger ("Use it before repeating a figure that came from a model, an article or memory") and points to metrics_list as the source of concept ids. It does not state when NOT to use it or name an alternative verification path, so it stops short of full alternative routing.

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