Skip to main content
Glama

Known as of a date

known_as_of
Read-onlyIdempotent

Get what a company had reported as of a date: per measure, the latest period filed by then and its value (changed_after: true adds whether a filing after the date changed it); optionally ratios from those filings. For point-in-time backtests.

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>",
      "as_of": "<as_of>"
    },
    "name": "known_as_of"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofYesDecision date: only filings on or before it count.
ratiosNoAdds margins, ROE, ROA, leverage, free cash flow.
companyYesTicker (AAPL), CIK or company name.
periodsNoannual (default) or quarterly.
conceptsNoDefault: ten common measures.
changed_afterNo

Output Schema

NameRequiredDescriptionDefault
rowsNo
as_ofNo
limitsNo
ratiosNo
columnsNo
companyNo
meaningNo
missingNo
snapshotNo
truncatedNo
next_offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / changed_after
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / description
      Previous value: -"rows: one per measure in the order of columns, the value as it stood on as_of; changed_after flags values later restated."New value: +"rows: one per measure in the order of columns, the value as it stood on as_of; with changed_after: true, a column flags values a filing after as_of changed."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world behavior, so the bar is lower. The description still adds real context: that only filings on or before the date count, that one value per measure is returned, and that changed_after reports whether a later filing altered it — a behavior invisible from the schema alone.

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?

A single dense sentence (with a compact parenthetical) that front-loads the core result and then layers the option flags. No filler, no repetition of schema 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?

With an output schema present, return values need no explanation, and six parameters with two required are adequately framed. The only gap is that the concepts default ('ten common measures') and annual/quarterly choice are not connected to output shape, but the schema carries those.

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?

Schema coverage is 83%, so baseline is 3, and the description goes beyond it by defining changed_after, the one parameter the schema leaves undocumented. It also frames as_of and ratios in terms of the point-in-time result, though it adds nothing for concepts or periods that the schema doesn't already say.

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?

Specific verb plus resource ('Get what a company had reported as of a date') with a precise scope qualifier: 'per measure, the latest period filed by then and its value.' That delineates it from a plain time-series or restatement view, though no sibling is named explicitly.

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?

'For point-in-time backtests' gives a clear primary use case, and the as-of semantics imply when this beats a normal history lookup. But it never states when not to use it or names the alternative tools (restatements, vintages, history) that an agent would otherwise have to disambiguate itself.

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.