Skip to main content
Glama
gzgs-xgxt-mcp
by yjp-jdp

退出登录

xg_logout

Logs out of the student affairs system and clears locally saved credentials, ending the current session and preventing reuse of stored login data.

Instructions

调用系统 /logout 并清除本地保存的凭证。

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It does disclose one important side effect — local credentials are cleared — but says nothing about whether server-side tokens are actually invalidated, whether the call errors when no session exists (idempotency), or what permission/auth state is required to invoke it. For a state-mutating session tool with zero annotation coverage this is a meaningful gap.

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 that front-loads the primary action (system /logout) and then the local cleanup consequence. Nothing is wasted and nothing is buried.

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 tool the core action is covered, and the local-credential clearing is a valuable detail. However, with no output schema and no annotations, details about failure modes or what the call returns (e.g. whether the session token is invalidated server-side or an error is raised when not logged in) are missing, leaving an agent unable to predict outcomes.

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 parameter semantics do not need documenting and the baseline of 4 applies. The description correctly does not invent parameter information.

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+resource pair: calls the system /logout endpoint and clears locally stored credentials. An agent can tell this is a session-termination tool without opening the schema. It does not explicitly distinguish itself from the login-family siblings (xg_login_status, xg_login_token), so it falls short of a 5.

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 description implies usage (end a session / remove stored credentials) but never states when to call it versus alternatives such as xg_login_status to check whether a session is still valid. No preconditions, no exclusions, no guidance on repeated calls when already logged out.

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