Skip to main content
Glama
dorukardahan

twitterapi-docs-mcp

get_twitterapi_endpoint

Retrieve detailed documentation for Twitter API endpoints including parameters, cURL examples, and code snippets to implement API calls correctly.

Instructions

Get complete documentation for a specific TwitterAPI.io endpoint.

USE THIS WHEN: You know the exact endpoint name (e.g., from search results). RETURNS: Full details including path, parameters, cURL example, and code snippets.

Common endpoints:

  • get_user_info, get_user_followers, get_user_following

  • tweet_advanced_search, get_tweet_by_id

  • add_webhook_rule, get_webhook_rules

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endpoint_nameYesExact endpoint name (use underscores). Examples: 'get_user_info', 'tweet_advanced_search', 'add_webhook_rule'

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentNo
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes what the tool returns ('Full details including path, parameters, cURL example, and code snippets'), which is valuable context. However, it doesn't mention potential limitations like rate limits, authentication requirements, or error handling, leaving some behavioral aspects unspecified.

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?

The description is well-structured with clear sections (purpose, usage guidelines, returns, examples) and uses bullet points for readability. Every sentence adds value—no redundant or unnecessary information—making it efficient and easy to parse.

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?

Given the tool's low complexity (1 parameter, 100% schema coverage, output schema exists), the description is complete. It covers purpose, usage context, return details, and examples, compensating for the lack of annotations. The output schema handles return values, so the description doesn't need to explain them further.

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?

The schema description coverage is 100%, so the schema already documents the single parameter 'endpoint_name' with examples. The description adds value by providing common endpoint examples (e.g., 'get_user_info', 'tweet_advanced_search') and reinforcing the need for exact names, which helps clarify usage beyond the schema's technical specification.

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?

The description clearly states the verb 'Get' and resource 'complete documentation for a specific TwitterAPI.io endpoint', making the purpose explicit. It distinguishes from sibling tools like 'list_twitterapi_endpoints' (which lists endpoints) and 'search_twitterapi_docs' (which searches documentation) by focusing on retrieving full details for a known endpoint.

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?

The 'USE THIS WHEN' section explicitly states the condition: 'You know the exact endpoint name (e.g., from search results)'. This provides clear guidance on when to use this tool versus alternatives like 'search_twitterapi_docs' for unknown endpoints or 'list_twitterapi_endpoints' for browsing.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dorukardahan/twitterapi-docs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server