cancel_login
Cancels an ongoing QR code login and frees the associated browser resources.
Instructions
取消一个进行中的扫码登录,释放其浏览器资源。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| login_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Cancels an ongoing QR code login and frees the associated browser resources.
取消一个进行中的扫码登录,释放其浏览器资源。
| Name | Required | Description | Default |
|---|---|---|---|
| login_id | Yes |
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It mentions 'releasing browser resources' but does not explain idempotency, error states (e.g., if login already completed), or side effects beyond that.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is short (one sentence) but lacks structure. It is not front-loaded with key details, and while concise, it omits necessary information for a complete understanding.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's side effects (cancellation, resource release) and available output schema, the description does not cover return values, error handling, or state requirements (e.g., login must be active). It is insufficient for reliable invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description should clarify the parameter 'login_id'. It only implies it via context but does not explain its type, source, or usage. The agent must guess what value to provide.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('cancel') and the resource ('ongoing QR code login'), and the mention of releasing browser resources differentiates it from sibling tools like begin_login, poll_login, and render_qr_terminal.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use or not use this tool. It does not mention prerequisites (e.g., that a login must be in progress) or alternatives, leaving the agent to infer context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/majehuang/h_claw'
If you have feedback or need assistance with the MCP directory API, please join our Discord server