Skip to main content
Glama
fatwang2

x-api-mcp

by fatwang2

get_trends

Read-only

Fetch personalized trends for a specified X account or the default account. See what topics are currently popular for that account.

Instructions

Personalized trends for the account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoX username of an authorized account (see list_accounts). Omit to use the default account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that - no indication of the return shape, whether trends are region/time-windowed, freshness, or rate-limit behavior for an open-world read.

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?

A single short sentence with no filler, front-loading the resource. It is efficient, though arguably under-specified rather than tightly scoped.

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 one-optional-parameter read tool with annotations covering safety and no output schema, the description is minimally adequate. It leaves the nature and scope of the returned trends undefined, which is the main gap.

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%, and the single optional 'account' parameter is fully documented in-schema with a pointer to list_accounts. The description adds no additional meaning, so the baseline 3 applies.

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

Purpose3/5

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

The name and description together convey retrieval of trend data, and 'Personalized ... for the account' hints at account-scoped results. However, the phrasing is vague about what a 'trend' actually is (hashtags, topics, posts?) and offers no differentiation from siblings, though no sibling appears to cover trends.

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 when-to-use guidance, no prerequisites, no alternatives named (e.g., get_timeline or search for non-personalized discovery). The only hint is that trends are account-scoped, which the agent must infer from the word 'Personalized'.

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