Skip to main content
Glama

Read what is trending in a country

list_trending
Read-only

One country's board: Google's rising searches, each with the news behind it and an approximate volume, or YouTube's most popular videos. A board stays fresh in the cache for ten minutes. A cached board costs 0 credits. When the source refuses us, the last good board is served instead, flagged stale with the time it was captured, and it costs nothing either: you are charged for a reading, never for an attempt.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "geo": "<geo>"
    },
    "name": "list_trending"
  }
}

Input Schema

NameRequiredDescriptionDefault
geoYesThe country, ISO 3166-1 alpha-2 (US, BR, ES). REQUIRED: a board is one country's board, and there is no honest default for whose. This used to fall back to `US`, which meant a caller in São Paulo was quietly handed the American one. A country the source does not publish answers 400 and says so. For a subject rather than a country, see `search_news` and `search_youtube`. A trending board takes no query.
limitNoEntries to return, 1–50. Google publishes ten per country.
sourceNoWhich board to read: `google` for what a country is searching, `youtube` for what it is watching.google
categoryNoYouTube's video category id: `10` is Music, `17` Sport. YouTube only: Google Trends publishes no categories.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, openWorld, non-destructive), and the description goes well beyond them: ten-minute cache freshness, zero-credit cached reads, stale-but-free fallback when the source refuses, and the billing rule that attempts are never charged. These are exactly the operational traits an agent needs to decide whether to retry or re-call.

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?

Four compact sentences, front-loaded with what the board contains and followed by the operational rules. Nothing is wasted, though the prose style is denser than a bulleted cost/staleness statement would need to be.

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?

With no output schema, the description does carry the burden of describing returns and mostly meets it: entries, accompanying news, approximate volume, or ranked videos. It does not sketch the response shape or field names for the stale flag and capture time, which would help an agent parse results.

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 geo, limit, source and category are all documented with enum values and defaults. The description adds only corroborating detail (rising searches carry news and volume; YouTube gives popular videos) and no syntax or format information beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states precisely what the resource is: 'One country's board: Google's rising searches, each with the news behind it and an approximate volume, or YouTube's most popular videos.' That tells an agent both the scope (single country) and the two content variants (google vs youtube). It stops short of naming the sibling tools that fetch subject-based news/video, so differentiation lives only in the input schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the framing 'One country's board' – read this when you want a per-country trend board rather than a query. There is no explicit when-to-use/when-not, and no mention of alternatives; that routing guidance ('for a subject rather than a country, see search_news and search_youtube') appears only in the geo parameter's schema description.

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.

Resources