Skip to main content
Glama

twitter_user_mentions

Read-only

Find recent public tweets that mention a specific X handle, returning author details, metrics, and cursor pagination to track brand mentions, replies, or public conversations.

Instructions

Get recent public tweets that mention (@ tag) a user. Searches for tweets directed at the username using the to: operator. Returns matching tweets with author info and metrics. Paginate with cursor. Use this to monitor brand mentions, replies directed at an account, or public conversations about a person.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoRequested page size, capped at 200. Advisory only for this endpoint: X's own search backend typically returns around 13 to 20 tweets per page regardless of the value requested here, an upstream limit, not something this API controls. To retrieve more results, page with the cursor from the previous response rather than raising this value.
cursorNoOpaque pagination cursor from a previous response's next_cursor field. Omit on the first call; pass on subsequent calls to fetch the next page.
usernameYesTwitter/X handle WITHOUT the leading @ of the user to find mentions for (e.g. 'openai' to find tweets mentioning @openai).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.9

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, and open-world, so the safety profile is covered. The description adds real behavioral context beyond that: the to: operator search mechanism, the return contents (author info and metrics), and cursor pagination. It stops short of 5 because it doesn't note rate limits or result-cap quirks.

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?

Front-loaded with the core purpose, then mechanism, return shape, pagination, and use cases in four tight sentences with no filler. Every sentence carries distinct information.

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 read-only/open-world annotations and no output schema, the description is largely self-sufficient: it explains purpose, mechanism, returns, and pagination. It could add a note on the upstream page-size quirk already present in the schema, but nothing essential is missing for correct invocation.

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 all three parameters (username, count, cursor) are already fully documented in the schema, including the count advisory. The description only echoes pagination with cursor and adds no syntax or format detail beyond the schema. Baseline 3 applies.

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 (Get) and resource (recent public tweets mentioning a user) and clarifies the mechanism via the to: operator, which distinguishes it from a plain user-timeline tool. It does not explicitly name or contrast against the closest siblings like twitter_user_tweets or twitter_tweet_replies, so it stops short of a 5.

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

Usage Guidelines4/5

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

Gives concrete when-to-use cases (monitor brand mentions, replies directed at an account, public conversations about a person). No when-not guidance or named alternative tool, so it lacks the routing/exclusion detail a 5 would need.

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

Deploy Server

Other Tools