Skip to main content
Glama

AIsa X / Twitter

Get User Tweets

get_twitter_user_last_tweets
Read-onlyIdempotent

Get a user's most recent tweets, accepting either userName (@handle) or userId — useful when you have not resolved the handle to an ID yet. Optionally include replies. Cursor-paginated. Returns tweets under data with has_next_page and next_cursor. Use get_twitter_user_tweet_timeline instead when you already have the numeric ID and want the full profile-order timeline with parent-tweet expansion.

Usage-based billing; Default request estimate: $0.003 USD (not a fixed price). Account-specific pricing and final settlement may differ.

Input Schema

NameRequiredDescriptionDefault
countNo
cursorNoCursor for pagination
userIdNoUser ID of the user
userNameNoScreen name of the user
includeRepliesNoInclude replies in the results Provider reference (supplier schema): `{"default":false,"type":"boolean"}`.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / cursor / description
      Added value: +"Cursor for pagination"
    • addedInput schema / properties / includeReplies / description
      Added value: +"Include replies in the results\n\nProvider reference (supplier schema): `{\"default\":false,\"type\":\"boolean\"}`."
    • addedInput schema / properties / userId / description
      Added value: +"User ID of the user"
    • addedInput schema / properties / userName / description
      Added value: +"Screen name of the user"
  2. Changed7 schema fields changed
    • addedInput schema / properties / count
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / cursor / description
      Removed value: -"Cursor for pagination"
    • removedInput schema / properties / includeReplies / default
      Removed value: -false
    • removedInput schema / properties / includeReplies / description
      Removed value: -"Include replies in the results"
    • changedInput schema / properties / includeReplies / type
      Previous value: -"boolean"New value: +"string"
    • removedInput schema / properties / userId / description
      Removed value: -"User ID of the user"
    • removedInput schema / properties / userName / description
      Removed value: -"Screen name of the user"
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, open-world, non-destructive behavior, so the bar is lower; the description still adds real behavioral context — cursor pagination and the response shape (data, has_next_page, next_cursor). It does not discuss rate limits or the billing estimate's non-fixed nature beyond the injected pricing note.

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?

Front-loaded with the core action, then pagination, return shape, and the alternative — each sentence earns its place. The auto-injected pricing block adds length but is boilerplate rather than authored text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need not be described, yet the description still summarizes them; annotations carry the safety profile; and parameters, pagination, and alternatives are all addressed. An agent can call this correctly without further inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 80%, so the baseline is a 3, and the description adds genuine meaning: that userName is a @handle, that userId and userName are interchangeable entry points (useful before handle resolution), and that replies are optional. Only 'count' remains undocumented in both places.

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?

Specific verb+resource: retrieves a user's most recent tweets, with the scope (recent, cursor-paginated, optional replies) stated up front. It attempts differentiation by naming an alternative timeline tool, but that tool does not appear in the sibling list, so the contrast lands weakly against the actual siblings (get_twitter_user_mentions, get_twitter_tweet_replies, etc.).

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 a clear usage condition: use this when you have not resolved the handle to an ID (accepts either userName or userId). It also names an explicit alternative and the condition selecting it. The referenced alternative is not present among siblings, which slightly undercuts the routing value.

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.

Resources