Skip to main content
Glama

Trending searches for a day

get_trending_searches
Read-onlyIdempotent

Top Google trending searches in a country on a past day, from 2024-11-28. Some days are missing.

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": {
      "country": "<country>"
    },
    "name": "get_trending_searches"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDay in YYYY-MM-DD. Leave out for the latest saved day.
limitNoHow many rows to return, 1 to 200. Default 25.
countryYesTwo-letter country code, such as US or GB.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"Two-letter country code, such as US"New value: +"Two-letter country code, such as US or GB."
    • changedInput schema / properties / date / description
      Previous value: -"YYYY-MM-DD. Leave out for the latest saved day."New value: +"Day in YYYY-MM-DD. Leave out for the latest saved day."
    • changedInput schema / properties / limit / description
      Previous value: -"1 to 200. Default 25."New value: +"How many rows to return, 1 to 200. Default 25."
    • addedInput schema / properties / limit / maximum
      Added value: +200
    • addedInput schema / properties / limit / minimum
      Added value: +1
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's job is to add operational context — which it does with two real facts an agent would otherwise discover by failure: data begins 2024-11-28 and coverage has gaps. It stops short of saying what an empty result for a missing day looks like, so it is not fully transparent.

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?

Two short sentences, purpose first, caveat second — every clause carries information and nothing is repeated from the schema or annotations. No padding or hedging.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple three-parameter read tool with full schema coverage and complete annotations, the core is present: what it returns, the date floor, and the data gaps. It is still incomplete on sibling differentiation and on the exact behavior for a missing day, which are the two ambiguities an agent would actually hit.

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 baseline is 3, but the description adds meaning the schema lacks: an implicit lower bound on the date parameter (2024-11-28) and the warning that some dates have no data. That materially affects how an agent chooses a date value rather than restating the schema.

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?

States a specific verb+resource+scope: top Google trending searches for a country on a past day. The phrasing 'on a past day' hints it is historical rather than a live ranking, but it never names or distinguishes itself from siblings like get_top_trends or get_world_trends, so an agent cannot route between them from this text alone.

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 only implied: the 'past day' framing and the 'from 2024-11-28' floor suggest this is the historical per-country lookup. There is no explicit statement of when to prefer it over get_top_trends/get_world_trends, and no guidance on what to do when the requested day is one of the missing ones.

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