Skip to main content
Glama

get_user_tweets

Retrieve a user's own posts, newest first, excluding replies, with an optional limit. Use for recent timelines; for older posts, search with from: and since: filters.

Instructions

A user's own posts, newest first (no replies).

X caps how far back this reaches (~3,200 posts). For older material use search("from: since:...").

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_tweets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
usernameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.0.6
    • removedInput schema / properties / limit / description
      Removed value: -"Max tweets to return (default 20, max 100)."
    • removedInput schema / properties / username / description
      Removed value: -"The @handle (without the @)."
  2. First observedv1.0.3

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied the description carries the full load, and it discloses result ordering, reply exclusion, and a hard historical depth cap of roughly 3,200 posts. It does not cover auth requirements, rate limits, or pagination, but the output schema presumably handles return shape.

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?

Three short sentences, front-loaded with what the tool returns before the caveat and the fallback. Nothing repeats the name and no sentence is filler.

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 two-parameter read tool with an output schema, the description covers scope, ordering, and the main limitation plus a redirect. The one real gap is the undocumented 'limit' parameter, which an agent needs to paginate or size results correctly.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must explain both parameters. It explains neither: 'username' is only obliquely implied by the '<handle>' search example, and 'limit' (default 20, no documented max or valid range) is never mentioned.

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

Purpose5/5

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

States a specific verb+resource ('A user's own posts') with ordering ('newest first') and an explicit scope exclusion ('no replies'), which cleanly separates it from the sibling get_user_tweets_and_replies.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use boundary: this tool is capped at ~3,200 posts, and older material should go through search("from:<handle> since:...") with the exact query syntax named. No inference required to pick between the two paths.

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