Skip to main content
Glama

get_cookie

Opens a browser for QR-code login to Douyin and automatically saves the resulting Cookie, enabling authenticated access for subsequent Douyin MCP Server actions.

Instructions

通过扫码登录抖音获取Cookie(会打开浏览器窗口,请用抖音APP扫码登录,登录成功后自动保存Cookie)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_cookie"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses that a browser window will open, that a human with the Douyin mobile app must physically scan a QR code, and that the cookie is saved automatically on success. These are exactly the blocking, human-in-the-loop traits an agent needs to plan around. It omits where the cookie is stored, how long it remains valid, and what happens on timeout or cancellation.

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?

One front-loaded sentence names the goal first, then a parenthetical supplies only the operational caveats (browser window, QR scan, auto-save). No filler, though the parenthetical is dense enough that splitting the human-interaction requirement into its own clause would read better.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter, annotation-free tool, the description covers the mechanics but leaves the outcome ambiguous — there is no output schema, so it should state what the caller receives on success (a cookie string, a saved-file path, a status message) and what failure looks like. That gap matters because the caller must know whether the Cookie is returned or merely persisted.

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?

The tool takes zero parameters, which normally earns a baseline of 4, but the description adds no information about the empty input contract or about what result is produced. It neither clarifies nor misleads on parameter semantics; it simply has nothing to say.

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?

States a specific verb and resource: obtain a Douyin Cookie by logging in through a QR-code scan. That is clearly distinct in kind from the sibling data-retrieval tools (get_user_info, search_videos, download_video), though the description never explicitly names or contrasts them.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent can infer this is the prerequisite step to authenticate before calling the other tools. There is no explicit guidance on when to re-run it (e.g. cookie expired), whether it can be called repeatedly, or what to do if login fails or is not possible in a headless context.

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