Skip to main content
Glama

Summary statistics for a series

get_series_stats
Read-only

Retrieve latest value, previous period, historical min/max, mean, and period-over-period and year-over-year changes for a data series, with citation. Quickly answer how a metric stands and has moved.

Instructions

Latest value, previous, all-time min/max, mean, and change vs the previous period and vs a year ago — computed over the verified store, with the citation attached. The cheap way to answer "what is it now and how has it moved" without a full analysis run.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesSource slug, e.g. 'fred'
seriesIdYesSeries id, e.g. 'DGS10'

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.2.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already mark the tool as read-only. The description adds useful behavioral context: results are computed over the 'verified store,' a citation is attached, and the operation is cheap. These details go beyond the raw readOnlyHint and help set expectations about provenance and cost.

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?

Two sentences, front-loaded with the output contents and followed by a concise usage rationale. No filler or repetition of schema details; 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?

There is no output schema, so the description carries the burden of explaining what is returned, and it does so by enumerating the statistics and citation. It leaves minor ambiguity about exact response structure but is complete enough for a simple, read-only stats tool.

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 coverage is 100%, with both parameters described and exemplified. The tool description does not add new meaning about source or seriesId, but it clarifies that these parameters identify the series whose statistics are returned. This is adequate but not additive.

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 names the exact resource (a series) and the specific statistics returned: latest, previous, min/max, mean, and comparisons. It also distinguishes itself from heavier analysis by billing itself as the 'cheap way' to answer a focused question, separating it clearly from deep_analysis.

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?

The description explicitly frames when to use it: for quickly checking current value and movement 'without a full analysis run.' It does not name sibling alternatives like get_observations, but the use case and cost framing give an agent enough context to select this tool over a heavier analysis.

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

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/Adarsh4052/starwell-mcp'

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