Skip to main content
Glama

get_twitterapi_endpoint

Retrieve detailed documentation for TwitterAPI.io endpoints including paths, parameters, cURL examples, and code snippets when you know the specific endpoint name.

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
pathNo
titleNo
cachedNo
methodNo
doc_urlNo
full_urlNo
markdownYes
raw_textNo
parametersNo
descriptionNo
curl_exampleNo
code_snippetsNo
endpoint_nameYes
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 crucial for understanding output behavior. However, it lacks details on potential errors (e.g., if the endpoint name is invalid) or performance aspects like rate limits, leaving some behavioral context uncovered.

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 and front-loaded with the core purpose, followed by usage guidelines, return details, and examples. Every sentence earns its place by providing essential information without redundancy, 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), high schema coverage (100%), and the presence of an output schema (which handles return value documentation), the description is complete. It covers purpose, usage, returns, and examples, addressing all necessary contextual elements without overloading with redundant details from structured fields.

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 input schema has 100% description coverage, so the baseline is 3. The description adds value by providing common endpoint examples ('get_user_info', 'tweet_advanced_search', etc.), which helps users understand valid parameter values beyond the schema's generic examples. This enhances semantic clarity, though it doesn't fully explain parameter constraints or formats beyond what's implied.

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 tool's purpose with a specific verb ('Get complete documentation') and resource ('for a specific TwitterAPI.io endpoint'). It distinguishes from sibling tools like 'list_twitterapi_endpoints' (which lists endpoints) and 'search_twitterapi_docs' (which searches documentation) by focusing on retrieving detailed documentation 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 description includes an explicit 'USE THIS WHEN' section that specifies when to use this tool ('You know the exact endpoint name') and implies alternatives by referencing sibling tools like 'search_twitterapi_docs' for cases where the endpoint name is not known. This provides clear guidance on tool selection.

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-io-mcp'

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