Skip to main content
Glama

bitcoin-stratigraphy

Get Bitcoin Stratigraphy

stratigraphy.get
Read-onlyIdempotent

PURPOSE: Retrieves Bitcoin Stratigraphy telemetry records by recent-day count, date, block height, or inclusive date and block ranges. USAGE: Use to fetch telemetry records and selected thermodynamic metrics. Do NOT use for catalog coverage discovery; use stratigraphy.list instead. PARAMETERS: days is an integer from 1 to 365; date is YYYY-MM-DD; blockHeight is a non-negative integer; metrics is a unique non-empty array containing target_multiplier, difficulty_epoch_progress, or thermodynamic_signal; startDate and endDate are inclusive YYYY-MM-DD bounds; startBlock and endBlock are inclusive non-negative integer bounds; limit is an integer from 1 to 100 with default 10. BEHAVIOR: Reads the local telemetry dataset without database writes. Only one of days, date, or blockHeight may be supplied, and none may be combined with range selectors; lower bounds cannot exceed upper bounds. Rate limit: 60 req/min per IP shared across /mcp. RETURNS: Object containing records, an array of matching telemetry entries, limited and optionally projected by metrics; an unmatched query returns an empty array. ERRORS: -32602 (Invalid Parameters) for invalid fields, selector combinations, bounds, or ranges; HTTP 429 (Rate Limit) when the shared limit is exceeded; dataset retrieval failures return an MCP tool error. No 402 payment required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoCalendar date selecting one telemetry day, formatted as YYYY-MM-DD in UTC.2026-09-09
daysNoCount of recent days of telemetry to fetch (integer, 1-365).
limitNoMaximum number of records to return (integer, 1-100).
endDateNoInclusive upper date bound formatted as YYYY-MM-DD in UTC (must be >= startDate).2026-09-18
metricsNoArray of specific telemetry metric key strings to project into returned records.
endBlockNoInclusive upper block height bound (non-negative integer, must be >= startBlock).
startDateNoInclusive lower date bound formatted as YYYY-MM-DD in UTC.2026-09-01
startBlockNoInclusive lower block height bound (non-negative integer).
blockHeightNoIndexed Bitcoin block height selecting one telemetry record (non-negative integer).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
recordsYesValidated telemetry records matching the requested range.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true. The description reinforces this with 'Reads the local telemetry dataset without database writes' and adds substantial extra behavior: rate limiting (60 req/min shared), selector exclusivity, empty-array behavior on unmatched queries, and specific error codes. It also notes no payment is required, going beyond annotations.

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?

The description is lengthy but organized into clear labeled sections (PURPOSE, USAGE, PARAMETERS, BEHAVIOR, RETURNS, ERRORS) and front-loads purpose and usage. Every section carries distinct information; the verbosity is justified by the tool's complexity (9 parameters, multiple selectors, and constraints). It is not tautological or wasteful.

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?

For a tool with this many parameters and selection modes, the description covers everything an agent needs: purpose, usage boundaries, parameter constraints, behavioral specifics, return shape, and error handling. The output schema exists, so return details are optional, but the description still clarifies the records array and projection behavior. No critical information 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?

The schema already documents every parameter (100% coverage), so the baseline is 3. The description's PARAMETERS section mostly paraphrases the schema but adds the critical mutual-exclusivity rule among days/date/blockHeight and range selectors, plus the lower/upper bound constraint, which the schema does not convey. That extra semantic adds genuine value beyond 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?

The description opens with a specific verb and resource: 'Retrieves Bitcoin Stratigraphy telemetry records' and enumerates the exact selection keys (recent-day count, date, block height, or inclusive date and block ranges). It explicitly names the sibling tool it is not ('Do NOT use for catalog coverage discovery; use stratigraphy.list instead'), so an agent can unambiguously distinguish it from stratigraphy.list without inspecting schemas.

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?

The USAGE section explicitly states when to use this tool ('Use to fetch telemetry records and selected thermodynamic metrics') and when not to, naming the alternative (stratigraphy.list). It also details selector exclusivity rules and bound constraints, leaving no ambiguity about invocation conditions.

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