Skip to main content
Glama
X (Twitter) MCP Server

X (Twitter) MCP Server

by Dishant27

get_profile

Retrieve profile details for a specified X/Twitter username or for the authenticated account when no username is provided.

Instructions

Get Twitter profile information for a user or the authenticated account

Input Schema

NameRequiredDescriptionDefault
usernameNoTwitter username (if not provided, returns authenticated user profile)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. 'Get' correctly signals a read-only operation and the optional-username fallback is behavioral context, but there is no mention of authentication requirements, rate limits, or what 'profile information' actually includes.

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?

A single sentence with zero wasted words; the resource and the two scope cases are front-loaded and immediately actionable.

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 one-optional-parameter read tool with full schema coverage, this is nearly sufficient. The only real gap is that with no output schema, the description does not hint at what fields the profile contains or its shape.

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% and the schema already documents the optional username with its default-to-authenticated-user behavior. The description restates rather than extends that meaning, 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 ('Get') and resource ('Twitter profile information') plus the scope, covering both a named user and the authenticated account. It is clearly distinguishable from the mutation sibling update_profile, though no sibling is named explicitly.

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?

Usage is implied: call it to read a profile, omit username to read your own. There is no explicit when-to-use vs when-not guidance and no mention of alternatives among siblings such as list_followers or search_tweets, so the agent must infer context.

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