Skip to main content
Glama

Tone Distribution

tone_distribution
Read-onlyIdempotent

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.

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": "Amazon customer satisfaction",
      "timespan": "1m"
    },
    "name": "tone_distribution"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesGDELT query string
timespanNoLookback window (default "1m")
enddatetimeNoYYYYMMDDHHMMSS, only with timespan=custom
startdatetimeNoYYYYMMDDHHMMSS, only with timespan=custom

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / enddatetime / description
      Previous value: -"YYYYMMDDHHMMSS — only with timespan=custom"New value: +"YYYYMMDDHHMMSS, only with timespan=custom"
    • changedInput schema / properties / startdatetime / description
      Previous value: -"YYYYMMDDHHMMSS — only with timespan=custom"New value: +"YYYYMMDDHHMMSS, only with timespan=custom"
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "query": "Amazon customer satisfaction",
      +    "timespan": "1m"
      +  },
      +  {
      +    "query": "\"central bank\" interest rates sourcelang:eng",
      +    "timespan": "7d"
      +  }
      +]
  3. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds value beyond that by disclosing the return shape (tone bins + counts plus a % negative/neutral/positive and mean tone summary) and that results are window-scoped aggregates. It does not mention result caps, rate limits, or how sparse/empty queries behave.

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

Conciseness5/5

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

Front-loads the identity (sentiment distribution/histogram), then routing preference, then sibling differentiation, then return shape. Dense but every sentence carries distinct routing or output information, with no repetition of the name or schema.

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?

There is no output schema, and the description compensates by describing exactly what comes back (bins, counts, summary percentages, mean tone). Combined with the annotations and full schema coverage, an agent has everything needed to decide and call correctly.

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 the parameters are already documented, and the baseline would be 3. The description adds meaning by stating the query uses the same GDELT query language as search_articles, which points the agent to the syntax reference rather than leaving 'GDELT query string' opaque; timespan defaults are already in the schema.

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: a sentiment distribution histogram of global news coverage for a GDELT query, with explicit scope (tone bins from very negative to very positive over the window). It also explicitly distinguishes itself from timeline_tone by noting that tool gives the average over time while this gives the full spread.

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 explicit when-to-use triggers ('is coverage of X positive or negative', 'news sentiment breakdown / how polarized is reporting on X') and an explicit routing instruction to PREFER OVER WEB SEARCH. It also names the sibling alternative timeline_tone and the condition (average vs. spread) that separates them.

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.