Skip to main content
Glama

query_databento

Fetch real-time and historical market data from Databento for futures, equities, and crypto. Query OHLCV bars, trades, and quotes by specifying symbols, date ranges, and schemas for financial analysis.

Instructions

Fetch real-time and historical market data from Databento (CME futures, US equities, crypto). Read-only, billed per Databento usage. Use for OHLCV / trades / quotes on traditional instruments; use get_markets or search_markets for prediction-market contracts instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolsYesSymbol list. Required, at least one. Examples: ["CL.c.0"] (front-month WTI), ["ES.c.0"] (S&P e-mini), ["AAPL"]. Continuous-contract suffix .c.0 means front month.
datasetNoDatabento dataset code. Default: GLBX.MDP3 (CME Globex). Must match the venue of the requested symbols.
schemaNoDatabento schema. Default: trades. Other common values: ohlcv-1m, ohlcv-1d, mbp-1, tbbo, statistics.
startNoISO-8601 start timestamp (inclusive). Omit for most recent data.
endNoISO-8601 end timestamp (exclusive). Must be after start if both set.
limitNoMax records returned. Default 100. Hard cap 10000.
Behavior4/5

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

No annotations provided, so description carries full burden. Discloses 'Read-only' safety profile and 'billed per Databento usage' cost structure. Could improve by mentioning rate limits or error behavior when symbols are invalid, but covers key operational constraints.

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 sentences, zero waste. Front-loaded with action verb. First sentence defines scope, second discloses operational traits, third provides selection guidance. Every clause earns its place.

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?

Given 100% schema coverage and 6 parameters, description successfully covers purpose, cost, safety, and sibling differentiation. Lacks output format description (expected given no output schema), but mentions return data types (OHLCV/trades/quotes). Sufficient for correct invocation.

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 has 100% coverage (baseline 3). Description adds categorical context for symbols parameter by distinguishing 'traditional instruments' vs prediction markets, reinforcing the venue constraints implied by the dataset parameter. Mentions data types (OHLCV/trades/quotes) that map to schema parameter values.

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?

Opens with specific verb 'Fetch' targeting 'market data from Databento' and explicitly lists asset classes (CME futures, US equities, crypto). Critically distinguishes scope from siblings by contrasting 'traditional instruments' with prediction markets.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use ('Use for OHLCV / trades / quotes on traditional instruments') and names exact alternatives for other use cases ('use get_markets or search_markets for prediction-market contracts instead'). Also notes cost model implications.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/spfunctions/simplefunctions-cli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server