Skip to main content
Glama

China Snapshot

Get indicator observations

get_observations
Read-only

Inspect the observations of one indicator series, oldest first, each marked origin=archive (a release we watched appear, with release_date and revised) or origin=backfill (older published history). Same as GET /api/series/{series_id}. Observations of documents and social records are not available through this tool yet. Use it for indicator series (CPI, PPI, LPR, yields, M2 and similar) whose ids look like cpi-yoy; for documents or social topics use find_records instead. Optional from and to (YYYY-MM-DD) bound the window; the history depth depends on your plan. Read-only and dated: every row has period, value, unit, origin and source_url. An unknown series id returns the tool error Series not found or has no observations.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "series_id": "<series_id>"
    },
    "name": "get_observations"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLatest reference period, inclusive.
fromNoEarliest reference period, YYYY-MM, YYYY-MM-DD, or YYYY-Q#.
series_idYesIndicator series id in lowercase kebab case, for example cpi-yoy; list ids with find_records dataset=indicators.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / series_id / description
      Added value: +"Indicator series id in lowercase kebab case, for example cpi-yoy; list ids with find_records dataset=indicators."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, and the description adds genuinely new behavior: oldest-first ordering, the origin=archive vs origin=backfill taxonomy, the row shape (period, value, unit, origin, source_url), a plan-dependent history depth, and the exact error returned for an unknown series id. It does repeat 'Read-only' from annotations, which is minor redundancy rather than contradiction.

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?

Dense but well-organized single paragraph that front-loads the core action and follows with scope, alternatives, parameters, and error behavior. 'Same as GET /api/series/{series_id}' and the 'Read-only' restatement are the few sentences that do not fully earn their place.

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?

No output schema exists, and the description compensates by enumerating the returned row fields, the ordering, the origin labels, and the failure mode. For a three-parameter read tool with annotations covering safety, nothing an agent needs to call it correctly 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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema: that from/to bound a window whose depth depends on the caller's plan, and that series_id follows the cpi-yoy shape. It slightly narrows the date format to YYYY-MM-DD even though the schema accepts YYYY-MM and YYYY-Q# as well, a small imprecision against otherwise helpful context.

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 ('Inspect the observations of one indicator series'), specifies ordering ('oldest first'), and distinguishes itself from sibling find_records for documents and social topics. An agent can route to this tool 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 Guidelines5/5

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

Explicit when-to-use ('indicator series (CPI, PPI, LPR, yields, M2 ...) whose ids look like cpi-yoy') and when-not ('for documents or social topics use find_records instead'), plus a stated limitation that document/social observations are not yet available here. Nothing about selection is left to inference.

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