Skip to main content
Glama

twitterapi-io-mcp-server

Get Mentions of a User

get_user_mentions
Read-onlyIdempotent

Fetch tweets that mention a specific Twitter/X user (i.e. tweets containing @userName). Useful for brand monitoring, sentiment tracking on a public figure, or finding conversations involving an account. Supports time-bound queries via sinceTime/untilTime (Unix seconds). Paginates via cursor.

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": {
      "userName": "<userName>"
    },
    "name": "get_user_mentions"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNoPagination cursor; omit for first page (~20 per page).
userNameYesTwitter/X screen name without @ — fetches tweets that mention this user (@userName).
sinceTimeNoUnix timestamp (seconds) lower bound — only mentions after this time. Omit for no lower bound.
untilTimeNoUnix timestamp (seconds) upper bound. Omit for no upper bound.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds real behavioral context beyond that: results are paginated via cursor and queries can be bounded in time via Unix-second timestamps. It does not say what a page contains, ordering, or rate/coverage limits, so the addition is modest.

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?

Three short sentences: identity of the operation first, then use cases, then the two behavioral capabilities. Every sentence carries information relevant to selection or invocation; the use-case sentence is the only slightly expendable element, but it does aid tool selection.

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?

For a simple read-only, single-required-parameter lookup with full annotation coverage and no output schema, the definition covers what to fetch, how to bound time, and how to paginate — enough to call it correctly. The only gap is any hint about result volume or ordering, which is minor here.

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 coverage is 100%, so all four parameters are already documented, including the no-@ screen name rule, Unix seconds, and omit-for-unbounded behavior. The description restates sinceTime/untilTime and cursor without adding syntax or edge-case meaning beyond the schema, so the 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 and resource ('Fetch tweets that mention a specific Twitter/X user') and disambiguates the key concept with '(i.e. tweets containing @userName)', which separates it from a timeline tool like get_user_last_tweets. It stops short of naming any sibling or contrasting with search_tweets, so it is clear but not explicitly differentiated.

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 usage contexts — brand monitoring, sentiment tracking on a public figure, finding conversations involving an account — which tells the agent what situations this tool serves. It never says when to prefer an alternative (e.g. search_tweets for keyword queries) or any exclusions, so the guidance is contextual rather than routing.

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.