Skip to main content
Glama

XBRL concept series

get_fact
Read-onlyIdempotent

Raw time series of one us-gaap concept for a ticker (e.g. Revenues, NetIncomeLoss, EarningsPerShareDiluted, Assets), each value with period, form, filing date and accession. Use for exact filed figures; cite the accession. Unknown concepts return the list of stored ones.

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": {
      "ticker": "<ticker>",
      "tag": "<tag>"
    },
    "name": "get_fact"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYes
limitNo
tickerYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the description need not restate safety. It adds useful context the annotations lack: the shape of each returned value (period, form, filing date, accession) and the fallback behavior that unknown concepts return the list of stored ones.

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?

Three compact sentences, front-loaded with the core purpose and followed by usage guidance and error behavior. No filler or redundant restatement of the name or title.

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?

An output schema exists, so return-value detail need not be exhaustive; the description still helpfully names the key fields and the unknown-concept fallback. The main remaining gap is the undocumented limit parameter for a tool that can return long time series.

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 0% across three parameters, so the description must carry parameter meaning. It explains the concept tag with examples and implies ticker scoping, but says nothing about the limit parameter or pagination behavior, leaving one of three parameters undocumented.

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 a specific verb and resource: "Raw time series of one us-gaap concept for a ticker," with concrete concept examples (Revenues, NetIncomeLoss, EarningsPerShareDiluted, Assets). It implicitly distinguishes itself from fundamentals-style siblings by emphasizing raw filed values, though it does not name an alternative 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?

"Use for exact filed figures; cite the accession" gives a clear condition for selecting this tool over aggregated sources. It does not state when not to use it or name a specific sibling alternative, so it stops short of full routing guidance.

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