Skip to main content
Glama

China Snapshot

Get changed documents

get_changes
Read-only

Retrieve documents added or revised since a time, oldest first, for polling. Same feed as GET /api/changes. Each item has change_type (new: we first collected this URL; newly_discovered: new to us but published more than 2 days earlier; revised: we extracted a different body for a known URL) and change_at (UTC). Each document appears once per walk, at its latest event. Call with since=, then pass next_cursor back as cursor (next_since as since also works). Events from the last 10 minutes are held back. Optional watch/topic, source and q narrow the feed. content_hash identifies the text at that event; the text is not returned. At most 20 items per call.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoWords that must match the title, original title or publisher.
limitNoMaximum events to return in this page; continue with next_cursor.
sinceNoISO-8601 instant with timezone (inclusive), or a next_since token.
topicNoAlias of watch.
watchNoReviewed watchlist slug to follow, for example export-controls; list slugs with list_watchlists.
cursorNonext_cursor from the previous call.
sourceNoExact publisher label to restrict the change feed to one publisher.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Maximum events to return in this page; continue with next_cursor."
    • addedInput schema / properties / q / description
      Added value: +"Words that must match the title, original title or publisher."
    • addedInput schema / properties / source / description
      Added value: +"Exact publisher label to restrict the change feed to one publisher."
    • addedInput schema / properties / watch / description
      Added value: +"Reviewed watchlist slug to follow, for example export-controls; list slugs with list_watchlists."
  2. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed world), and the description layers on genuinely non-obvious behavior: events from the last 10 minutes are held back, at most 20 items per call, each document appears once per walk at its latest event, and content_hash identifies the text but the text itself is not returned. These are exactly the traits an agent cannot derive from annotations or schema.

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 front-loaded: purpose first, then item shape, then the call sequence and constraints. Every clause carries information, though the 20-item cap is effectively stated twice (prose and schema) and the REST endpoint reference (GET /api/changes) is of marginal use to an agent picking a tool.

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?

With no output schema, the description does the heavy lifting by describing the returned item fields (change_type, change_at, content_hash) and the fact that body text is withheld. The main remaining gap is termination: it never says what signal marks the end of the feed (e.g. absent next_cursor), which matters for a polling loop.

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 description still adds cross-parameter workflow meaning beyond the per-field text: since accepts either an ISO-8601 instant or a next_since token, cursor is fed from next_cursor, and limit/pagination combine into a repeat-call loop. The watch/topic alias and source/q narrowing are largely restated from the schema, but the token-vs-instant and pagination interplay is real added value.

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?

Opens with a specific verb and resource plus scope: 'Retrieve documents added or revised since a time, oldest first, for polling.' The change_type taxonomy (new / newly_discovered / revised) makes the content of the feed concrete. It does not explicitly contrast itself with siblings like get_events or get_digest, so an agent must infer that this is the incremental/cursor-based feed rather than a search or digest tool.

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?

Gives a clear operational recipe: call with since=<ISO-8601 with timezone>, then pass next_cursor back as cursor, and notes next_since also works as since. The 'for polling' framing plus the 10-minute hold-back rule tells the agent how to drive the feed. It stops short of stating when to prefer this over the other event/timeline siblings, so no exclusions are given.

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