Skip to main content
Glama

ReachSocial - One API for social media data.

X Post

x_post
Idempotent

Retrieve a normalized public X post and source media URLs. Use for one public post/video URL. For an account's list, use x_feed. Returns normalized text, author, engagement, and source media URLs. An entitled B2B API key executes immediately under the client's billing and spending limits. OAuth requires an approved owner wallet connection and creates a $0.05 USDC payment request on Base; execution waits for browser approval/payment. Then use get_reachsocial_request with the returned request_id. Preserve the idempotency_key for retries; changed input needs a new key. Invalid/private/unavailable targets and access, rate, or spend limits return errors.

Input Schema

NameRequiredDescriptionDefault
urlYesCanonical X status URL. Supply a full https:// URL, not a handle or search query.
idempotency_keyYesThe calling agent/client generates this key automatically; do not ask the user to invent it. OAuth requires a random 32–255 character key (for example a UUID); B2B accepts 1–255 characters. Save it with the exact inputs before calling and reuse it with identical input to recover without duplicate billing. Use a new key for a different target, item limit, or page.

Output Schema

NameRequiredDescriptionDefault
dataNoDirect B2B normalized profile, item, or items; feeds may include next_cursor and has_more.
metaNoDirect B2B schema/normalization versions, response shape, and latency.
cachedNoWhether a direct B2B response reused cached normalized data.
resultNoStored execution response after OAuth payment; contains normalized data or a terminal failure.
statusYesB2B success or the current OAuth payment/execution state.
messageNoAction or recovery guidance for the current request state.
serviceYesCatalog service ID, such as instagram.profile.
request_idYesStored request identifier; preserve it for recovery.
payment_urlNoOwner browser link for USDC payment approval; present when payment is required.
price_centsNoOAuth request price in USD cents.
transactionNoSettled payment transaction identifier, when available.
payment_statusNoStored settlement state; uncertainty requires retrieval, never a new payment.
payment_endpointNoOwner-only acceptance endpoint, present only during an explicitly enabled validation run.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Stable key for this logical request. OAuth requires a random 32–255 character key (for example a UUID); B2B accepts 1–255 characters. Save it before calling and reuse it with identical input to recover without duplicate billing. Use a new key for a different target, item limit, or page."New value: +"The calling agent/client generates this key automatically; do not ask the user to invent it. OAuth requires a random 32–255 character key (for example a UUID); B2B accepts 1–255 characters. Save it with the exact inputs before calling and reuse it with identical input to recover without duplicate billing. Use a new key for a different target, item limit, or page."
  2. Changed10 schema fields changed
    • addedInput schema / properties / idempotency_key / description
      Added value: +"Stable key for this logical request. OAuth requires a random 32–255 character key (for example a UUID); B2B accepts 1–255 characters. Save it before calling and reuse it with identical input to recover without duplicate billing. Use a new key for a different target, item limit, or page."
    • addedInput schema / properties / idempotency_key / maxLength
      Added value: +255
    • addedInput schema / properties / idempotency_key / minLength
      Added value: +1
    • addedInput schema / properties / url / description
      Added value: +"Canonical X status URL. Supply a full https:// URL, not a handle or search query."
    • addedInput schema / properties / url / format
      Added value: +"uri"
    • addedInput schema / properties / url / maxLength
      Added value: +2048
    • addedOutput schema / description
      Added value: +"A B2B execution result or an OAuth request awaiting browser payment."
    • addedOutput schema / properties
      Added value: +{
      +  "cached": {
      +    "description": "Whether a direct B2B response reused cached normalized data.",
      +    "title": "Cached",
      +    "type": "boolean"
      +  },
      +  "data": {
      +    "additionalProperties": true,
      +    "description": "Direct B2B normalized profile, item, or items; feeds may include next_cursor and has_more.",
      +    "title": "Data",
      +    "type": "object"
      +  },
      +  "message": {
      +    "description": "Action or recovery guidance for the current request state.",
      +    "title": "Message",
      +    "type": "string"
      +  },
      +  "meta": {
      +    "additionalProperties": true,
      +    "description": "Direct B2B schema/normalization versions, response shape, and latency.",
      +    "title": "Meta",
      +    "type": "object"
      +  },
      +  "payment_endpoint": {
      +    "description": "Owner-only acceptance endpoint, present only during an explicitly enabled validation run.",
      +    "title": "Payment Endpoint",
      +    "type": "string"
      +  },
      +  "payment_status": {
      +    "description": "Stored settlement state; uncertainty requires retrieval, never a new payment.",
      +    "title": "Payment Status",
      +    "type": "string"
      +  },
      +  "payment_url": {
      +    "description": "Owner browser link for USDC payment approval; present when payment is required.",
      +    "title": "Payment Url",
      +    "type": "string"
      +  },
      +  "price_cents": {
      +    "description": "OAuth request price in USD cents.",
      +    "title": "Price Cents",
      +    "type": "integer"
      +  },
      +  "request_id": {
      +    "description": "Stored request identifier; preserve it for recovery.",
      +    "title": "Request Id",
      +    "type": "string"
      +  },
      +  "result": {
      +    "additionalProperties": true,
      +    "description": "Stored execution response after OAuth payment; contains normalized data or a terminal failure.",
      +    "title": "Result",
      +    "type": "object"
      +  },
      +  "service": {
      +    "description": "Catalog service ID, such as instagram.profile.",
      +    "title": "Service",
      +    "type": "string"
      +  },
      +  "status": {
      +    "description": "B2B success or the current OAuth payment/execution state.",
      +    "enum": [
      +      "success",
      +      "payment_required",
      +      "awaiting_approval",
      +      "reconciliation_required",
      +      "succeeded",
      +      "failed",
      +      "expired"
      +    ],
      +    "title": "Status",
      +    "type": "string"
      +  },
      +  "transaction": {
      +    "anyOf": [
      +      {
      +        "type": "string"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ],
      +    "description": "Settled payment transaction identifier, when available.",
      +    "title": "Transaction"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "request_id",
      +  "service",
      +  "status"
      +]
    • changedOutput schema / title
      Previous value: -"x_postDictOutput"New value: +"MCPServiceResult"
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses billing/spend-limit behavior for B2B keys, the OAuth wallet-approval requirement, the $0.05 USDC payment request on Base, that execution blocks on browser approval, and the error classes (invalid/private/unavailable targets, access/rate/spend limits). This also explains why readOnlyHint is false despite the "retrieve" wording — the call can create a payment request.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Scope and the sibling alternative are front-loaded in the first two sentences, and every later sentence carries distinct operational content. It is dense and the auth/billing sentence is long, but nothing is filler.

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?

Covers the full lifecycle an agent needs: which input shape is valid, what the two auth paths cost and how they behave, where to poll the result, and how to retry safely. With an output schema present, it correctly omits return-value structure.

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 both parameters are already documented; the description still adds operational meaning by tying idempotency_key to duplicate-billing avoidance and by framing the URL as a single canonical post target. It doesn't restate the key length/format rules, which the schema already handles.

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?

States a specific verb and resource ("Retrieve a normalized public X post and source media URLs") and immediately scopes it to a single public post/video URL. It also names the sibling to use for the other case (x_feed), so an agent can discriminate without opening either schema.

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?

Explicitly gives the when: one public post/video URL, and the when-not: account lists belong to x_feed. It also routes the follow-up correctly ("Then use get_reachsocial_request with the returned request_id") and covers retries via the idempotency key.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources