Skip to main content
Glama

Sign out

xbox_auth_logout
Idempotent

Signs out the XBOX CLI on this machine and removes cached credentials, clearing local sign-in state so you can switch accounts.

Instructions

Signs the XBOX CLI out on this machine and removes its cached credentials. Use it when the user asks to sign out or to switch accounts (then xbox_auth_login). Changes only local sign-in state; nothing in Partner Center.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false, idempotentHint=true), so the description's added value is the disclosure of exactly what is removed (cached credentials) and the scope boundary (local sign-in state only, nothing in Partner Center). It does not say what happens if the user is already signed out or whether server-side tokens are revoked, which would have completed the picture. No contradiction with the annotations: removing local cached credentials is a local state change, not a destructive data operation.

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?

Three short sentences, each earning its place: the action, the trigger plus alternative, then the scope limitation. The most decision-relevant information (what it does) is front-loaded.

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 local mutation with annotations covering the safety profile and no output schema, this is nearly complete: action, trigger, follow-up and blast radius are all present. The only minor gap is the absence of a note about the already-signed-out case, though idempotentHint covers that behaviorally.

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 there is no parameter meaning to add and the baseline is 4. The phrase "on this machine" usefully pins the implicit target of the operation, which is the only parameter-like dimension available.

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?

"Signs the XBOX CLI out on this machine and removes its cached credentials" states a specific verb (sign out) plus the resource and the local scope, and the pairing with xbox_auth_login makes the direction of the operation unambiguous. An agent can distinguish this from xbox_auth_login and xbox_auth_status without opening any schema.

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

Usage Guidelines5/5

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

It names the triggering conditions explicitly — "when the user asks to sign out or to switch accounts" — and routes the account-switch case to the next tool (xbox_auth_login). Nothing about when to reach for this tool is left to inference.

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