Skip to main content
Glama
TwitterAPI.io MCP Server

TwitterAPI.io MCP Server

Official

get_user_mentions

Fetch tweets mentioning a specific X/Twitter handle, with optional Unix timestamp bounds for date filtering and cursor-based pagination.

Instructions

Fetch tweets mentioning @userName with optional sinceTime/untilTime Unix timestamp bounds. Paginates via cursor (~20 per page).

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 the first page (~20 per page).
userNameYesX/Twitter handle without @ to fetch tweets mentioning @userName.
sinceTimeNoUnix timestamp (seconds) lower bound. 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 observedv0.2.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses pagination ('Paginates via cursor (~20 per page)'), but says nothing about result ordering, whether private/protected accounts are included, rate limits, or what a returned tweet contains.

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?

Two tight sentences with zero filler. The core operation is front-loaded ahead of the boundary conditions and pagination note, which is the right ordering.

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?

Purpose, time bounds, and pagination are covered for a 4-parameter read tool with no annotations. But there is no output schema, and the description does not describe the returned tweet shape or ordering, which is a meaningful gap when the tool must be chained with get_tweets_by_ids or similar.

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 four parameters already document their meaning and optionality. The description restates the sinceTime/untilTime bounds and cursor pagination without adding syntax, format, or edge-case detail beyond the schema, so the baseline of 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 @userName, with a time-bounded scope. The word 'mentioning' functionally separates it from get_user_last_tweets and get_user_info, but it never names a sibling explicitly, so it stops short of top marks.

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

Usage Guidelines3/5

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

The scope qualifier 'tweets mentioning @userName' implies when this tool applies and implicitly rules out fetching a user's own timeline. However, there is no explicit when-to-use guidance or steering toward search_tweets for non-mention queries, leaving the agent to infer the boundary.

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