Skip to main content
Glama

gdelt_timeline

Read-only

Return GDELT global-news timeline series for required query, using the same operators as gdelt_search. metric selects coverage share (volume), matching count (volume_raw), average tone, or country/language series. Use relative timespan or absolute from/to, not both; use gdelt_tonechart for a tone histogram.

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": {
      "query": "<query>"
    },
    "name": "gdelt_timeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd of an absolute time window. Same formats as from.
fromNoStart of an absolute time window. Accepts YYYY-MM-DD, RFC3339, or GDELT's raw YYYYMMDDHHMMSS. Cannot be combined with timespan.
queryYesGDELT query string. Same syntax as gdelt-search's query. Required.
domainNoConvenience domain filter, appended to query as domain:VALUE.
metricNoTimeline metric. Allowed values: volume (default, coverage as %% of all monitored articles), volume_raw (actual matching article count), tone (average sentiment, negative to positive), lang (coverage volume broken down by source language), country (coverage volume broken down by source country). lang and country return one series per language/country instead of one aggregate series.
smoothNoMoving-window smoothing applied to the timeline, 0-30 steps. 0 (default) disables smoothing.
countryNoConvenience source-country filter, appended to query as sourcecountry:VALUE.
languageNoConvenience source-language filter, appended to query as sourcelang:VALUE.
timespanNoRelative time window ending now, e.g. 1h, 2d, 1w, 3m. Cannot be combined with from/to.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare the safe read-only, open-world, non-idempotent profile, so the bar is lower. The description still adds real behavioral context: that `lang` and `country` metrics return one series per language/country rather than a single aggregate series, and that `volume` is normalized coverage share versus raw article count. It doesn't cover rate limits or auth, but those aren't clearly relevant here.

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?

Three sentences, front-loaded with the core action, then metric selection, then the time-window rule and sibling pointer. There is a little redundancy in re-listing the metric options that the schema already enumerates, but no filler.

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 nine parameters, full schema coverage, an output schema, and read-only annotations, the description covers the decisions an agent must make before calling: metric choice, time-window mode, and when to redirect to gdelt_tonechart. Return format needn't be explained because the output schema exists; only guidance on timeline-versus-search selection is absent.

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 description coverage is 100%, so the schema already documents all nine parameters, including the metric enum values and the timespan/from-to exclusivity. The description's paraphrase of `metric` and the window rule largely restates that, adding only the framing of `metric` as the selector for series type. Baseline 3 is appropriate.

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 states a specific verb and resource ("Return GDELT global-news timeline series") and immediately scopes it to the required `query`. It also distinguishes the tool from gdelt_search (same operators, different output shape) and gdelt_tonechart (histogram), so an agent can tell it apart from siblings without opening a schema.

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?

It gives an explicit either/or rule ("Use relative `timespan` or absolute `from`/`to`, not both") and names a concrete alternative for a related need (gdelt_tonechart for tone histograms). What's missing is guidance on when to pick timeline series over gdelt_search results, though the sibling reference implies the division of labor.

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.