Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

Twitch Profile

twitch_profile

Fetch a Twitch channel's profile details, social links, top clips, schedule preview, and live stream data using its URL or username.

Instructions

Twitch channel — handle + displayName, socials[], topClips, schedule preview, stream only when live (1 credit). Costs 1 credit. Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "twitch_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesTwitch channel URL or username, e.g. https://www.twitch.tv/shroud. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
cacheNoSet true to serve from the response cache (default TTL). Default false — always fetch fresh. Prefer cacheMaxAge when you need 1d–30d freshness control.
cacheMaxAgeNoMax age of a cached response: 1d, 3d, 7d, 14d, or 30d. When set, enables caching with that TTL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the whole burden, and it does disclose real operational behavior: 1 credit per call, failures and empty results never charged, cache=true yields a free 24h hit while the default is always fresh, and the stream field only appears when the channel is live. That billing and caching detail is valuable, but auth requirements, rate limits, and any topClips/schedule result limits remain undisclosed.

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?

A single dense sentence front-loads the returned fields, then tacks on cost and caching rules with no filler. The dash-and-comma telegraphic style is efficient but slightly hard to parse, and the two credit/cache clauses overlap a little.

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 a one-endpoint profile fetch with full schema coverage and no output schema, the description covers payload shape, billing, failure charging, and cache behavior — enough for an agent to call it correctly. It stops short of describing pagination or size limits on topClips or what the schedule preview contains.

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 url, cache, and cacheMaxAge are already fully documented, and the description largely restates the cache semantics while adding the meaningful detail that a cache hit is free of credit charge. No added meaning for the url parameter or the cache-vs-cacheMaxAge interaction beyond what the schema says.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (Twitch channel) and enumerates the returned payload — handle, displayName, socials[], topClips, schedule preview, and live stream — so an agent knows exactly what it gets. It implicitly differentiates from siblings like twitch_clip and twitch_user_schedule by being the aggregate profile view, but it never names them or states a verb like 'fetch'.

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

Usage Guidelines2/5

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

It describes what the endpoint returns and how caching is billed, but never says when to pick this over twitch_user_schedule, twitch_user_videos, or twitch_clip. There are no exclusions, prerequisites, or conditional routing hints beyond the implicit 'you want the channel profile'.

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

Deploy Server

Other Tools