Skip to main content
Glama

小红书扫码登录

login

Opens a Xiaohongshu QR-code authentication window and returns without waiting for scanning; after the user scans, background verification starts, so check results with the verification tool.

Instructions

弹出浏览器窗口显示小红书登录二维码,立即返回(不阻塞等待扫码)。用户扫码后,后台自动检测并跑一次搜索验证;请提示用户扫完后调用 check_login 查看登录与验证结果。

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": "login"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden and does disclose key behavior: non-blocking return, background scan detection, and an automatic search validation run after login. It omits what happens on timeout, whether the session persists, or how to recover from a failed scan.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences that front-load the core behavior (opens QR, returns immediately) before the follow-up instruction; nothing is redundant.

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 parameterless authentication trigger with no output schema, the description covers the trigger, its asynchronous nature, and the required next call. Only error and timeout handling are absent, which would be a minor addition.

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?

The tool takes zero parameters, so per the baseline the schema needs no compensation and the description correctly focuses on flow rather than inputs.

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 action and resource (opens a browser window showing the Xiaohongshu login QR code) and explicitly frames the non-blocking return, which cleanly separates it from the follow-up sibling check_login.

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?

Gives clear operational guidance: it returns immediately without waiting for the scan, the user should be prompted to scan, and check_login must be called afterwards to read the result. It stops short of stating prerequisites or failure conditions (e.g. no browser available, expired QR, timeout).

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