tone_distribution

Pack: gdelt · Endpoint: https://gateway.pipeworx.io/gdelt/mcp

Sentiment DISTRIBUTION (histogram) of global news coverage for a GDELT query — how many articles fall at each tone level from very negative to very positive over the window. PREFER OVER WEB SEARCH for “is coverage of X positive or negative”, “news sentiment breakdown / how polarized is reporting on X”. Complements timeline_tone (average over time) with the full spread. Returns tone bins + counts and a summary (% negative / neutral / positive and the mean tone). Same GDELT query language as search_articles.

Parameters

NameTypeRequiredDescription
querystringyesGDELT query string
timespanstringnoLookback window (default “1m”)
startdatetimestringnoYYYYMMDDHHMMSS — only with timespan=custom
enddatetimestringnoYYYYMMDDHHMMSS — only with timespan=custom

Example call

Arguments

{
  "query": "Amazon customer satisfaction",
  "timespan": "1m"
}

curl

curl -X POST https://gateway.pipeworx.io/gdelt/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tone_distribution","arguments":{"query":"Amazon customer satisfaction","timespan":"1m"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('tone_distribution', {
  "query": "Amazon customer satisfaction",
  "timespan": "1m"
});

More examples

{
  "query": "\"central bank\" interest rates sourcelang:eng",
  "timespan": "7d"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "gdelt": {
      "url": "https://gateway.pipeworx.io/gdelt/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 7, 2026