Skip to main content
Glama

Get latest series value

get_series_latest
Read-onlyIdempotent

Returns the single most recent value for a series, unwrapped (not inside a SeriesData object).

REST operation: GET /api/series/{series}/{index}/latest.

Input Schema

NameRequiredDescriptionDefault
indexYes
seriesYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / $defs / Index / description
      Previous value: -"Aggregation dimension for querying series. Includes time-based (date, week, month, year),\nblock-based (height, tx_index), and address/output type indexes."New value: +"Aggregation dimension for querying series. Includes time-based (date, week, month, year), block-based (height, tx_index), and address/output type indexes."
    • changedInput schema / $defs / Index / enum
      Previous value: -[
      -  "minute10",
      -  "minute30",
      -  "hour1",
      -  "hour4",
      -  "hour12",
      -  "day1",
      -  "day3",
      -  "week1",
      -  "month1",
      -  "month3",
      -  "month6",
      -  "year1",
      -  "year10",
      -  "halving",
      -  "epoch",
      -  "height",
      -  "tx_index",
      -  "txin_index",
      -  "txout_index",
      -  "empty_output_index",
      -  "op_return_index",
      -  "p2a_addr_index",
      -  "p2ms_output_index",
      -  "p2pk33_addr_index",
      -  "p2pk65_addr_index",
      -  "p2pkh_addr_index",
      -  "p2sh_addr_index",
      -  "p2tr_addr_index",
      -  "p2wpkh_addr_index",
      -  "p2wsh_addr_index",
      -  "unknown_output_index",
      -  "funded_addr_index",
      -  "empty_addr_index",
      -  "extended_empty_addr_index"
      -]New value: +[
      +  "minute10",
      +  "minute30",
      +  "hour1",
      +  "hour4",
      +  "hour12",
      +  "day1",
      +  "day3",
      +  "week1",
      +  "month1",
      +  "month3",
      +  "month6",
      +  "year1",
      +  "year10",
      +  "halving_epoch",
      +  "difficulty_epoch",
      +  "height",
      +  "tx_index",
      +  "txin_index",
      +  "txout_index",
      +  "empty_script_output_index",
      +  "op_return_output_index",
      +  "p2a_address_index",
      +  "p2ms_output_index",
      +  "p2pk33_address_index",
      +  "p2pk65_address_index",
      +  "p2pkh_address_index",
      +  "p2sh_address_index",
      +  "p2tr_address_index",
      +  "p2wpkh_address_index",
      +  "p2wsh_address_index",
      +  "unknown_script_output_index"
      +]
    • removedInput schema / $defs / SeriesName / description
      Removed value: -"Series name"
    • addedInput schema / $defs / SeriesName / pattern
      Added value: +"^[a-z0-9_]+$"
    • removedInput schema / properties / index / description
      Removed value: -"Aggregation index"
    • removedInput schema / properties / series / description
      Removed value: -"Series name"
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered structurally. The description adds one useful behavioral fact – the value is returned unwrapped, not inside a SeriesData object – plus the underlying REST path, but says nothing about behavior for empty/missing series or error conditions.

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 sentences, front-loaded with the meaning of the return value. The REST operation line is marginally useful as a mapping hint but is not needed for invocation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 shape need not be restated, and annotations carry the safety profile. The remaining gaps are the total absence of parameter explanation for a 2-required-param tool and the lack of explicit differentiation from the many get_series* siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% at the property level; 'series' and 'index' are bare $refs, and the description never explains either. It does not say what a valid series name is, what the index aggregation dimension does to the result, or how a non-time index like 'height' affects the 'latest' semantics.

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: returns the single most recent value for a series, and adds the distinguishing detail that the result is unwrapped rather than a SeriesData object. That distinguishes it reasonably from get_series, though it never names the sibling explicitly.

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?

Usage is only implied by the phrase 'single most recent value' – an agent can infer this is the shortcut when only the latest point is needed, but there is no explicit 'use X when you need the full series' routing against get_series or get_series_bulk.

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.