Skip to main content
Glama

ReachSocial - One API for social media data.

YouTube Video

youtube_video
Idempotent

Retrieve normalized public YouTube video metadata and thumbnails. Use for one public post/video URL. For an account's list, use youtube_feed. Returns video metadata and thumbnails; playback remains on the official YouTube player. 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 YouTube video 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 YouTube video 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: -"youtube_videoDictOutput"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?

Annotations cover safety hints but not billing or asynchronous approval flows; the description adds critical context about B2B immediate execution under spending limits and OAuth creating a $0.05 USDC payment request on Base that waits for browser approval. It also explains that invalid/private/unavailable targets and access/rate/spend limits produce errors. The readOnlyHint=false is consistent with billing side effects despite the read-like retrieval purpose.

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 description is front-loaded with purpose and the sibling alternative, then proceeds through return behavior and billing/async flow. It is dense but every sentence carries operational value; minor improvement would be splitting the auth/payment and retry guidance into clearer sentences.

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 an output schema exists, return values need not be explained in depth. The description fully covers the unusual complexity here: payment vs B2B execution paths, async approval via get_reachsocial_request, idempotency retry semantics, and error conditions.

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 description coverage is 100%, so both url and idempotency_key are already well documented in the schema. The description reinforces idempotency key preservation and new-key-for-changed-input behavior, but adds little beyond the schema's own detailed parameter text.

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 normalized public YouTube video metadata and thumbnails) and explicitly scopes it to one public post/video URL. It names youtube_feed as the sibling for account-level lists, so the agent can distinguish the two without opening schemas.

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 says when to use this tool (one public video URL) and when to use the alternative (youtube_feed for an account's list). It also routes the OAuth follow-up to get_reachsocial_request and explains retry behavior with idempotency keys.

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