Skip to main content
Glama
AI Infra Filings MCP

AI Infra Filings MCP

by zurvaaziz56

Get metric

get_metric
Read-only

Retrieve quarterly or annual values for a company metric from SEC filings, including source filing, YTD derivation, and restatement flags.

Instructions

Quarterly or annual values of one metric for one company. Each value lists the filings it came from, whether it was derived from year-to-date totals, and whether it was later restated.

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>",
      "metric": "<metric>"
    },
    "name": "get_metric"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLatest period end date to include.
fromNoEarliest period end date to include.
liveNoRebuild the values from the SEC now. Falls back to the warehouse if the SEC is unavailable.
limitNoReturn the latest N values in the range.
metricYes
companyYesTicker, CIK, or part of the company name, for example "NVDA".
period_typeNoquarter

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint (SEC as an open-world source). The description adds genuinely new behavioral detail: each value carries its source filings, a YTD-derivation flag, and a restatement flag, which tells the agent about data provenance it cannot learn from annotations or 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?

Two sentences, zero padding, with the scope stated first and the value-content detail second. Every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description is the only place return values are explained, and it covers provenance flags but not the value itself (numeric units, currency, scaling) or ordering. It is adequate for calling the tool but incomplete for interpreting results.

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 71%, so most parameters are already documented. The description only echoes that metric and company are the keys and that period granularity is quarter/year; it adds no syntax, unit, or ordering semantics beyond the schema.

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

Purpose4/5

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

States the resource (values of a single metric), the entity scope (one company), and the period granularity (quarterly or annual). An agent can distinguish it from compare_metric by the 'one metric for one company' framing, though the retrieval verb is only implicit.

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 by the single-metric/single-company scope, which contrasts weakly with compare_metric, but there is no explicit when-to-use, when-not, or named alternative. No guidance on choosing live vs warehouse-backed retrieval beyond the schema's own note.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.