Skip to main content
Glama

China Snapshot

Get record

get_record
Read-only

Retrieve one record by its stable id (documents:N, social:N, indicators:N), including individually approved original text for documents. Same as GET /api/datasets?id=. Use it after find_records or search_stories, which return the ids. Read-only; returns the record with its source_url, dates and, where approved, original text. An unknown or malformed id returns a tool error (Record not found or an id-format error), not an empty result. Counts against your monthly research allowance; per-IP 30 and per-account 120 requests a minute.

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": {
      "id": "<id>"
    },
    "name": "get_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesStable record id as returned by find_records, formatted dataset:number, for example documents:1234.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"Stable record id as returned by find_records, formatted dataset:number, for example documents:1234."
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnly/destructive annotations, it discloses error semantics (unknown or malformed id yields a tool error, not an empty result), quota consumption ('counts against your monthly research allowance'), and concrete rate limits (30 per IP / 120 per account per minute). It also states what the response contains (source_url, dates, approved original text), which the annotations cannot convey.

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?

Purpose and id format are front-loaded, followed by call-ordering, return shape, failure mode, and cost. Each sentence carries distinct operational information with no filler.

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 single-parameter read tool with no output schema, the description covers selection criteria, id provenance, error behavior, response contents, and metering — everything needed to call it correctly and interpret failures.

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% and the pattern already constrains the id, so the baseline is 3; the description adds marginal value by enumerating the three valid dataset prefixes and reinforcing that ids come from find_records/search_stories. It stops short of explaining what happens for valid-but-unapproved records beyond a hint ('where approved').

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 ('Retrieve one record by its stable id') plus the concrete id forms accepted (documents:N, social:N, indicators:N), and maps to the equivalent REST endpoint. An agent can distinguish it from the sibling list/search tools without opening any 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?

Explicitly tells the agent to call this after find_records or search_stories, which return the ids — a clear prerequisite chain rather than implied usage. It also implicitly excludes bulk listing by pointing to the id-driven flow.

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