Skip to main content
Glama

Search topics

search_topics

Look up the Google Trends topic ID for any named entity, returning a mid to use as a keyword in other tools. Call first when users mention a company, product, person, or concept to capture all related search activity.

Instructions

Look up the Google Trends topic id for a thing. Call this FIRST whenever the user names an entity — a company, product, person, technology, concept — then pass the returned mid as a keyword to the other tools.

A topic aggregates every spelling and translation of the same concept, so it measures far more search activity than the literal phrase: querying the topic for "artificial intelligence" scores 62 where the literal string scores 1. The type field disambiguates same-name entities (Nike the company vs the goddess). Skip this only when the user explicitly wants a literal phrase.

Cheapest tool here: it needs no cookie and works on IPs that rate-limit the others.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesA search term, or a topic id from search_topics (e.g. "/m/0mkz").

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A5/5.0
Behavior5/5

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

No annotations are provided, but the description discloses key behavioral aspects: it aggregates spellings/translations, returns a `mid` and `type` field for disambiguation, and requires no cookie while working on rate-limited IPs. This is transparent about access and output semantics.

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?

The description is well-structured: a clear primary statement, followed by clarifying examples and a practical note about cost. Every sentence adds value without redundancy.

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?

Given that no output schema is provided, the description sufficiently explains what the tool returns and how it fits into the broader workflow with the sibling tools. It covers when to use, what to pass, and what to expect.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema fully describes the single parameter, and the description adds the crucial nuance that the parameter can be either a search term or an existing topic id. This enhances understanding beyond the schema alone.

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?

The description clearly states the tool's purpose: looking up a Google Trends topic id. It explains the primary use case (first step for entity queries) and distinguishes it from literal phrase searches. It also explicitly tells when to call it relative to the sibling tools.

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?

Provides explicit guidance on when to use: call first whenever the user names an entity, and skip only when a literal phrase is intended. It also notes that this is the cheapest tool, helping the agent decide among alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dariomory/trendflow-js'

If you have feedback or need assistance with the MCP directory API, please join our Discord server