Skip to main content
Glama

get_related_topics

Discover related topics for any keyword. Enter a search term and optional timeframe, region, category, or Google property to get contextually related topics for trend analysis and content research.

Instructions

Retrieves related topics for a single search term.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
catNoCategory ID (default: 0 for all).
geoNoGeographic region code (e.g. 'US').US
gpropNoGoogle property filter (e.g., '', 'youtube', 'news', 'images', 'froogle').
keywordYesSearch keyword to analyze.
timeframeNoTimeframe for search volume analysis (e.g., 'today 12-m').today 12-m

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, but it only says 'Retrieves.' It does not mention rate limits, authorization requirements, result limits, or how the tool behaves for invalid or overly broad terms.

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 a single sentence with no filler or repetition. It states the core action and scope immediately, making it easy to process.

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 read operation with a complete input schema and an output schema, the description plus schema is minimally sufficient. However, it does not clarify what kind of data 'related topics' returns beyond the schema, nor does it address the crowded sibling context where related_queries is a likely point of confusion.

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 the input schema already documents all five parameters clearly. The description adds no additional parameter-level meaning beyond 'single search term,' which maps to the keyword parameter. 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 uses a specific verb ('Retrieves') and resource ('related topics') and clearly states it operates on a single search term. However, it does not explicitly differentiate itself from the closely named sibling get_related_queries, so the agent must infer the distinction.

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

Usage Guidelines2/5

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

No guidance is provided about when to use this tool versus alternatives like get_related_queries or get_trending_terms. The only implied constraint is 'single search term,' but exclusions and alternative routing are left entirely to the agent.

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

Other Tools

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/AKzar1el/mcp-trendpulse'

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