Skip to main content
Glama
dev.socialscrape/socialscrape

dev.socialscrape/socialscrape

Official

Kwai

kwai
Read-onlyIdempotent

Fetch social profile data, profile posts, and individual post details by URL or handle, with pagination and optional cached results to conserve credits.

Instructions

Data from Kwai: profiles, posts and videos.

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:

  • post(url): Kwai post. 1 credit.

  • profile(url|handle): Kwai profile. 1 credit.

  • profile.posts(url|handle): Kwai profile posts. 1 credit. Paged.

Input Schema

NameRequiredDescriptionDefault
urlNoURL of the item the resource is about (profile, post, video, event...)
limitNoNumber of posts per page, at most 50. Used by: profile.posts
cursorNoOpaque cursor from the previous page; pass it back unchanged
handleNoUsername, with or without the leading @. Used by: profile, profile.posts
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 Kwai 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.2/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/non-destructive/openWorld, and the description still adds substantive behavior: each call costs the credits listed per resource, the response reports what was charged and what remains, failures are free, and cached responses are free. It also discloses pagination semantics (list resources return a `cursor`, pass it back unchanged). This is exactly the kind of cost/side-effect context annotations cannot express.

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?

Structure is strong: a one-line purpose, an invocation-rule sentence, a cost/pagination sentence, then a scannable resource list with cost and required argument inline. Front-loading is good. The middle sentence compresses credits, cursor, and caching into one long semicolon chain, which slightly hurts readability but does not waste words.

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 7-parameter dispatcher with a nested free-form `params` object and no output schema, the description covers the essentials an agent needs to call it: resource choice, per-resource arguments, cost, caching, and pagination. The remaining gap is that `params` is a partial escape hatch whose contents are deferred to `describe`, so an agent cannot call less-common optional parameters without a second tool call. Given the tool's breadth, that is a minor rather than disqualifying omission.

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; the description earns above that by encoding resource-to-parameter binding that the flat schema cannot express — profile and profile.posts accept `url|handle`, post accepts `url`, and profile.posts is the only paged resource. It also reiterates that `params` is for unknown-by-name optional arguments and points at `describe` for types and allowed values. It does not, however, enumerate the optional parameters it promises are 'in the tool description,' which is a small internal inconsistency.

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 domain (Kwai profiles, posts, videos) and then enumerates each selectable resource with the argument each one needs, so an agent knows exactly what it can fetch. It is distinguishable from sibling platform tools (youtube, tiktok, instagram) by the explicit platform name. It stops short of a single crisp verb phrase — 'Data from Kwai' is a noun phrase rather than 'Fetch X' — but the resource list removes nearly all ambiguity.

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 clear operating instructions: pick a `resource` first, then pass that resource's parameters as top-level arguments, and put extras in `params`. It also gives cost-aware usage guidance — pass `max_age_days` to accept a cached copy for free — which is real decision support. The gap is sibling routing: it never says when to use this versus `get_profile`, `get_post`, or `search`, which is the most likely selection mistake for an agent.

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