Skip to main content
Glama

Gkg Summary

gkg_summary
Read-onlyIdempotent

PREFER OVER WEB SEARCH for "what themes/entities does the news associate with X" or "who/what is being mentioned alongside X right now". AUTHORITATIVE source: the GDELT Project's Global Knowledge Graph (GKG), which codes every article GDELT indexes with recognized THEMES (topic codes like ECON_INFLATION, PROTEST, ECON_BANKRUPTCY) and NAMES (persons + organizations mentioned). Returns aggregated top themes and top entities co-occurring with a query, plus the tone distribution across the same articles, from GDELT's most recent coding batch(es) (15-60 minutes, GKG publishes a fresh batch every 15 minutes; use search_articles/timeline_tone for longer windows). Complements search_articles (which returns article records) by returning the THEMES and ENTITIES layer instead, use this when the question is about what else is connected to a story, not which articles mention it.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

Input Schema

NameRequiredDescriptionDefault
queryYesSearch term or GDELT theme code, e.g. "semiconductor export controls" or "ECON_INFLATION"
minutesNoHow far back to search, in minutes: 15, 30, 45 or 60 (default 15, one GKG batch). GKG batches land every 15 minutes, so this is the most recent N batches.
max_recordsNoSample article records to include after the aggregates (0-25, default 5).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / minutes / description
      Previous value: -"How far back to search, in minutes: 15, 30, 45 or 60 (default 15 — one GKG batch). GKG batches land every 15 minutes, so this is the most recent N batches."New value: +"How far back to search, in minutes: 15, 30, 45 or 60 (default 15, one GKG batch). GKG batches land every 15 minutes, so this is the most recent N batches."
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world access, but the description adds substantive behavior the annotations cannot: data provenance (GDELT GKG theme/name coding), latency and freshness bounds (15-60 minutes, a new batch every 15 minutes), and that results are aggregated over the most recent batch(es) rather than a full historical scan. It also discloses what is returned alongside the aggregates (sampled article records).

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?

Front-loaded with the decision-relevant 'PREFER OVER WEB SEARCH' directive and the authoritative-source framing, then the return shape, then the sibling comparison. It is dense but a few clauses are redundant, e.g. 'most recent coding batch(es) (15-60 minutes, GKG publishes a fresh batch every 15 minutes)' repeats the freshness point twice.

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, yet the description fully specifies the return payload: aggregated top themes, top entities co-occurring with the query, tone distribution across the same articles, and optional sampled article records. Combined with the freshness bounds and sibling routing, an agent has everything needed to call it correctly and interpret the result.

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 all three parameters are already documented, including the 15/30/45/60 minute batch semantics and the 0-25 max_records range. The description text adds little parameter-specific meaning beyond restating the batch cadence and the time-window limitation. 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?

States a specific verb and resource: returns aggregated top THEMES, NAMES/entities, and tone distribution from GDELT's Global Knowledge Graph. It also explicitly distinguishes itself from siblings ('Complements search_articles ... by returning the THEMES and ENTITIES layer instead'), so an agent can choose it without opening another 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?

Gives an explicit routing rule with example phrasings ('PREFER OVER WEB SEARCH for "what themes/entities does the news associate with X"'), states when to use it ('when the question is about what else is connected to a story, not which articles mention it'), and names the alternative for other cases ('use search_articles/timeline_tone for longer windows'). Both the when and the when-not are covered.

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.