Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as FactIQ. If you published it, claim ownership there.

Get market data

get_market_data
Read-only

Recent market data the warehouse lags on: quotes, OHLCV, company profiles, FX, and commodities.

Set data_type to price_history for stocks, currency pairs, and commodities; the asset format determines which market is queried. Price history comes back as consecutive rows, newest first, in pages of up to 500 rows. Use search_company_filings for financial statements and reported facts.

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": {
      "asset": "<asset>"
    },
    "name": "get_market_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetYesTicker, currency pair, commodity, or company-search text. Examples: "AAPL", "EUR/USD", "WTI", "Brent", "NVIDIA".
limitNoTotal number of price rows to return, counted from the newest. Rows come in pages of up to 500.
offsetNoPrice history only: the row to start the page at, counted from the newest (0 = newest). When a result has next_offset, call again with the same limit and offset=next_offset.
data_typeNoThe market or profile data to return.price_history
frequencyNoPrice-history frequency. Defaults to daily.daily

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of historical price rows to request."New value: +"Total number of price rows to return, counted from the newest. Rows come in pages of up to 500."
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Price history only: the row to start the page at, counted from the newest (0 = newest). When a result has next_offset, call again with the same limit and offset=next_offset.",
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare read-only, non-destructive, open-world behavior, so the safety profile needs no restating. The description adds the ordering contract ('consecutive rows, newest first, in pages of up to 500 rows'), but that paging detail is also present in the limit/offset schema text, and nothing explains why idempotentHint is false for a read-style tool (presumably data shifts between calls). No mention of latency, rate limits, or sparse-symbol behavior.

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?

Two short paragraphs, front-loaded with what the tool returns and then the routing rule, with no filler sentences. The opening clause about the warehouse lagging is the one piece of prose that costs tokens without a crisp meaning, and the pagination sentence partially duplicates schema text.

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?

An output schema exists, so return values need no explanation in prose, and the description instead covers the parts an agent needs to choose and call the tool: what domains it serves, which data_type to pick, how to route financial statements elsewhere, and how paging works. Nothing required for a correct first call is missing.

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 an increment by adding a rule the schema does not state: 'the asset format determines which market is queried', meaning the same field accepts tickers, FX pairs, and commodity names and is interpreted by format. It also clarifies that price history is a row-stream rather than a snapshot. It does not add anything for limit/offset 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?

The opening line names the resource concretely and enumerates the data domains it covers (quotes, OHLCV, company profiles, FX, commodities), which is far more than a restatement of the name. It also explicitly separates itself from search_company_filings for statements and reported facts. The only weakness is the vague framing phrase 'the warehouse lags on', which gestures at data freshness without defining it.

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 an explicit routing rule ('Set data_type to price_history for stocks, currency pairs, and commodities') and names a competing sibling with the condition that selects it ('Use search_company_filings for financial statements'). It stops short of saying when the other enum values (quote, company_profile, etf_profile, symbol_search) are preferred, leaving that to the schema.

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