Skip to main content
Glama
dev.socialscrape/socialscrape

dev.socialscrape/socialscrape

Official

X (Twitter)

twitter
Read-onlyIdempotent

Fetch X profiles, posts, communities, and video transcripts for research, monitoring, or content analysis.

Instructions

Data from X (Twitter): posts and videos, profiles, transcripts, communities and groups.

Pick a resource, then pass its parameters as top-level arguments (extras in params). Each call costs the credits shown below and the result says what was charged and what is left; failures are free. List resources return a cursor: pass it back unchanged for the next page. Pass max_age_days to accept a cached copy for free.

Resources:

  • community(url|id): X community. 1 credit.

  • community.tweets(url|id): X community posts. 1 credit. Paged.

  • profile(handle): X profile. 1 credit.

  • profile.tweets(handle): X profile posts. 1 credit. Paged.

  • search.posts(query): X post search. 1 credit. Paged.

  • tweet(url|id): X post details. 1 credit.

  • tweet.transcript(url|id): X video transcript. 1 credit (captions); AI transcription 1 credit up to 2 minutes, then 5 per started minute of the whole video. Optional: allow_long_transcription.

Input Schema

NameRequiredDescriptionDefault
idNoThe platform's id for the item, where a URL is not used. Used by: community, community.tweets, tweet, tweet.transcript
urlNoURL of the item the resource is about (profile, post, video, event...). Used by: community, community.tweets, tweet, tweet.transcript
queryNoKeyword or phrase to look for in public X posts. Used by: search.posts
cursorNoOpaque cursor from the previous page; pass it back unchanged
handleNoUsername, with or without the leading @. Used by: profile, profile.tweets
paramsNoAny other parameter for the chosen resource, by name, e.g. {"start_date": "2026-01-01"}. Optional parameters of each resource are in the tool description; call describe for types and allowed values.
resourceYesWhich X (Twitter) data to fetch. The tool description lists what each needs.
max_age_daysNoAccept a cached copy fetched within this many days, for 0 credits (0 to 30).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly/openWorld/idempotent/non-destructive, all consistent with a pure-read tool), the description discloses a per-resource credit price schedule, that failures are free, that cached reads cost 0 credits, that list resources return a cursor, and a non-obvious tiered pricing model for AI transcription with an allow_long_transcription opt-in. These are exactly the cost and side-effect facts an agent needs before spending credits.

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?

Front-loaded with the dispatch rule and pricing/paging rules, then a tight one-line-per-resource table with credit cost and a 'Paged' marker. Every sentence carries operational information; no filler or restatement of the tool name.

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 an 8-parameter dispatcher with a nested free-form `params` object and no output schema, it covers resource selection, argument placement, pagination, caching, and cost. The remaining gap is the response shape for the returned data itself (what a profile or post object contains), plus how pagination terminates, which the description leaves implicit.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds the dispatch convention that resource-specific parameters live at the top level while anything else goes in `params`, and ties cost behavior to max_age_days. It also flags allow_long_transcription as an optional parameter for tweet.transcript, though it defers most optional-parameter types and allowed values to a separate describe call.

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 opens with a concrete verb+resource ('Data from X (Twitter)') and then enumerates seven named resources (community, community.tweets, profile, profile.tweets, search.posts, tweet, tweet.transcript), each with its identifying argument. This immediately separates it from the platform siblings (youtube, tiktok, instagram) and from generic siblings like get_post or search, which return different data sources.

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

Usage Guidelines4/5

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

It gives explicit operating instructions: pick a resource, pass that resource's parameters as top-level arguments, put extras in `params`, reuse `cursor` for paging, and use max_age_days for a free cached copy. What it does not do is state when to choose this tool over overlapping siblings such as get_profile, get_post, search, or get_transcript, nor when not to use it.

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