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.

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. Added

TDQS

A4.4/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: the data source, that GKG re-codes every 15 minutes, the recency window it covers, and that results are aggregates over a sample of coded articles. Missing is whether aggregates are counts vs normalized shares and whether tone distribution is a histogram, but the safety profile is already covered by annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the highest-value routing cue, but the prose is dense and repetitive — the recency constraint and the search_articles comparison are each stated twice, and the query shapes are quoted verbosely.

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?

No output schema, yet the description names the three return components (top themes, top entities, tone distribution) and the sampling behavior via max_records. Lacks detail on ordering/aggregation method and how the co-occurrence aggregation is computed.

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 baseline is 3; the description still adds value by explaining that `minutes` maps to whole GKG batches and that the time span only covers 15-60 minutes, and by giving a concrete theme-code example query. It does not clarify how a free-text query is matched against theme codes vs names.

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+resource (aggregated themes/entities/tone from GDELT's GKG) and gives the exact question shapes it answers. Explicitly contrasts with search_articles returning the article-record layer.

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 "PREFER OVER WEB SEARCH" directive, concrete example questions, a named alternative (search_articles) with the condition that selects it, and a handoff to search_articles/timeline_tone for longer windows than 15-60 minutes.

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.