Skip to main content
Glama

ReachSocial - One API for social media data.

X Profile

x_profile
Idempotent

Retrieve normalized public X profile metadata. Use for one account's public profile metadata. For its posts/videos, use x_feed. Normalized profile metadata from the public X profile. 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 profile 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 profile 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_profileDictOutput"New value: +"MCPServiceResult"
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The description adds substantial behavior beyond annotations: B2B keys execute immediately under client billing/spending limits, while OAuth requires an approved owner wallet connection and creates a $0.05 USDC payment request on Base pending browser approval. It also states error conditions for invalid/private/unavailable targets and access, rate, or spend limits, and explains request_id follow-up and idempotency behavior.

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?

The definition is front-loaded with the core purpose and then moves into execution behavior and error conditions. It has some redundancy, such as repeating 'normalized public X profile metadata' across two sentences, but is otherwise efficiently organized.

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?

The tool has an output schema, so return values need not be explained. Given that, the description is complete enough: it covers purpose, sibling routing, auth/payment flow, idempotency, follow-up request retrieval, and error behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents both parameters thoroughly. The description reinforces idempotency key preservation and the need for a new key on changed input, but it does not add much parameter meaning beyond what the schema already provides.

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 uses a specific verb and resource: retrieve normalized public X profile metadata. It also distinguishes this tool from x_feed by naming x_feed as the tool for posts/videos, so the agent can select correctly among siblings.

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?

It explicitly says to use this for one account's public profile metadata and routes post/video retrieval to x_feed. It also explains the two execution modes: B2B API key execution versus OAuth payment approval, which is clear operational guidance.

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