Skip to main content
Glama

Comprehensive Market Context

cc.auto_fetch_market_data
Read-onlyIdempotent

Call cc.auto_fetch_market_data — All-in-one market context for agents: BloFin OHLCV candles, indicators computed by Central Command, BloFin open interest and news. Purpose: All-in-one market context for agents: BloFin OHLCV candles, indicators computed by Central Command, BloFin open interest and news. Behavior: READ-ONLY. Does not place orders, move funds, or mutate your exchange account. Responses may be cached (~300s). Auth: X-Api-Key or x402 payment proof (X-PAYMENT / __x_payment). Anonymous unauthenticated calls receive HTTP 402 with payment accepts. Cost: $0.008 USDC per successful call (x402 Base USDC pay-per-use or prepaid X-Api-Key balance). Linked Connect keys are free. This is billing, not a side effect. Rate limit: 15/min (per API key). Tier: premium. Returns: Multi-section response: technical indicators, OHLCV data, market microstructure (OI/funding), and relevant news summaries. Guidelines: Compute / parse / backtest only — no live orders. Feed outputs into cc.agent_strategy with force_paper=true to paper-trade. Tags: comprehensive, market-data, indicators, news, context, all-in-one.

Input Schema

NameRequiredDescriptionDefault
symbolYesParameter `symbol` (string). Required.
timeframeNodefault: 1h Optional.
__x_paymentNoOptional x402 payment proof (same value as X-PAYMENT header). Use when retrying after HTTP 402 if your MCP client cannot set custom headers. Not a business parameter. Optional.

Output Schema

NameRequiredDescriptionDefault
okYesTrue when the gateway HTTP status is 2xx.
dataNoParsed JSON body from the endpoint (shape varies by slug).
errorNoError message when ok is false.
statusYesUpstream HTTP status from x402-gateway.
billingNoOptional payment / cost metadata when present.
endpointYesCatalog slug that was invoked (e.g. funding-rates).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations by disclosing auth modes (X-Api-Key or x402), the HTTP 402 anonymous path, per-call cost ($0.008 USDC, free for linked Connect keys), a 15/min rate limit, ~300s caching, and an explicit 'this is billing, not a side effect' clarification. This is exactly the extra context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and section-labeled (Purpose, Behavior, Auth, Cost, Rate limit, Returns, Guidelines), which helps scanning, but the purpose sentence is duplicated verbatim and the trailing Tags line restates already-listed keywords. Real redundancy dilutes an otherwise well-organized block.

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?

Covers behavior, auth, billing, rate limits and downstream workflow, and since an output schema exists it need not detail return values. Only gap is any concrete guidance on the business parameters (e.g., symbol format/timeframe options).

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 nominally 100%, so the baseline is 3, but those descriptions are tautological ('Parameter `symbol` (string). Required.') and the description adds no syntax, format, or validation meaning for symbol/timeframe beyond implying BloFin data. Marginal value over the schema.

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?

States a specific verb and resource — fetching market context (BloFin OHLCV candles, Central Command indicators, open interest, news) — and its 'all-in-one' framing implicitly distinguishes it from single-purpose siblings like cc.market_news and cc.open_interest. An agent can tell what it returns without opening the schema.

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?

Provides downstream guidance ('Compute / parse / backtest only — no live orders', feed into cc.agent_strategy with force_paper=true), but never states when to prefer this tool over its narrower siblings. Usage is implied rather than contrasted.

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