Skip to main content
Glama
Xquik-dev

X Twitter Scraper

explore

Read-onlyIdempotent

Find the right endpoint for your X/Twitter task by searching the API catalog. Filter by category, keyword, or free usage to identify parameters and response shapes.

Instructions

Live Xquik tool: search the 120-route API catalog before calling 'xquik'. This package stub returns setup guidance only.

When to use

  • Use 'explore' FIRST to find the right endpoint path, parameters, and response shape before calling 'xquik'.

  • Use when the user asks what capabilities are available or how to accomplish a task on X/Twitter.

  • Use to check whether an endpoint is included usage or requires account access.

When NOT to use

  • Do NOT use 'explore' to fetch live data from X - use 'xquik' instead.

  • Do NOT use if you already know the endpoint path and parameters.

Behavior

  • Live server: read-only, idempotent catalog search with no API request.

  • Package stub: makes no network call and returns live setup guidance.

  • The live catalog has 120 routes. Of these, 119 support JSON or text.

  • Each EndpointInfo contains method, path, summary, category, free, parameters, and responseShape fields.

Input format

Provide a bounded request function. The server exposes spec.endpoints (EndpointInfo[]). Filter, search, or return them.

Examples

Find all included-usage endpoints: async () => spec.endpoints.filter(e => e.free) Find by category: async () => spec.endpoints.filter(e => e.category === 'composition') Search by keyword: async () => spec.endpoints.filter(e => e.summary.toLowerCase().includes('tweet')) Get full details: async () => spec.endpoints.find(e => e.path === '/api/v1/x/tweets/search')

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesBounded request function that filters or searches spec.endpoints (EndpointInfo[]). Must return an array or single EndpointInfo object. Example: async () => spec.endpoints.filter(e => e.category === 'twitter')
Behavior5/5

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

Annotations already declare read-only and idempotent, but the description adds crucial behavioral context: the tool acts differently as a live server (read-only catalog search) vs a package stub (no network call, returns setup guidance). It also discloses catalog size and EndpointInfo fields, exceeding the minimal annotation coverage.

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?

Despite being detailed, the description is well-structured with clear sections (When to use, When NOT to use, Behavior, Input format, Examples). Every sentence serves a purpose, and the front-loaded summary immediately conveys the tool's role. The length is justified by the clarity it provides.

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?

For a single-parameter catalog exploration tool, the description covers purpose, usage boundaries, behavioral differences, input format, and practical examples. With no output schema, it also mentions the EndpointInfo fields and response shape expectations, making it complete for invocation and result interpretation.

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 already covers the single 'code' parameter thoroughly (description and example). The tool description reinforces this with an 'Input format' section and multiple concrete examples showing how to write valid filter expressions, adding practical value beyond the schema. However, since schema coverage is 100%, the description's extra contribution is helpful but not essential.

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 identifies the tool as a catalog search utility before calling 'xquik', using the specific verb 'search' and the resource '120-route API catalog'. It differentiates itself from the sibling tool 'xquik' by stating its role as a pre-flight lookup.

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?

Explicit 'When to use' and 'When NOT to use' sections provide direct guidance, naming 'xquik' as the alternative for live data retrieval and even stating when the tool is unnecessary (when endpoint is already known). This is exemplary usage guidance.

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/Xquik-dev/x-twitter-scraper'

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