Skip to main content
Glama

logout

Destructive

Removes local login information for the NetEase Music plugin without signing out other devices.

Instructions

移除此插件的本地登录信息,不退出其他设备。

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that by naming exactly what is destroyed (local login state for this plugin) and what is not (sessions on other devices), which is the key behavioral distinction an agent needs before an irreversible action. It does not say whether the user must re-authenticate afterward.

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?

A single short sentence with the destructive scope front-loaded and the non-scope qualifier immediately after. There is no filler and nothing to trim.

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 zero-parameter, no-output-schema, destructive tool, the definition covers what is removed and its blast radius, which is the critical information. It would be complete at 5 with a note on whether the current session ends immediately or whether re-login is required.

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 no parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. It is not raised further because no argument-level semantics are needed or described.

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 (移除/remove) and a specific resource (本地登录信息 - local login credentials for this plugin), which is enough to distinguish it from sibling login flows such as login_qr or login_browser. It stops short of naming an alternative, but the scope is unambiguous.

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?

The clause 不退出其他设备 implies the when-to-use boundary (local-only cleanup versus a full account sign-out), but the guidance is implied rather than stated. No sibling tool is named as the alternative for a broader logout, and no preconditions are given.

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