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
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | GDELT query string |
timespan | string | no | Lookback window (default “1m”) |
startdatetime | string | no | YYYYMMDDHHMMSS — only with timespan=custom |
enddatetime | string | no | YYYYMMDDHHMMSS — only with timespan=custom |
Example call
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":{}}}'
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.