Skip to main content
Glama

Sign in (opens a browser)

xbox_auth_login
Idempotent

Opens your browser to sign in to the XBOX CLI with Microsoft Entra ID and waits for completion. Use when the auth status check reports signedIn:false, then finish sign-in in the browser.

Instructions

Opens the system browser on the user's machine to sign in to the XBOX CLI with Microsoft Entra ID, and waits until the sign-in finishes. Use it only when xbox_auth_status reports signedIn:false, and tell the user to complete the sign-in in their browser. Changes only local sign-in state.

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_login"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that it launches the user's system browser (an effect outside the CLI namespace not captured by openWorldHint), that the call blocks until sign-in completes, and that the mutation is scoped to local sign-in state only — which reconciles readOnlyHint:false with destructiveHint:false. This is the kind of context an agent cannot derive from the structured fields.

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 tight sentences, front-loaded with the action and effect, followed by the conditional and the user-facing instruction. Every clause carries operational information; there is no filler or restatement of the title.

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 tool, it covers action, precondition, blocking semantics, mutation scope, and required user messaging. The one gap is failure handling: it does not say what happens if the user abandons or the browser flow times out, which matters for a call that waits.

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 nothing for the description to disambiguate; baseline is 4. The description correctly implies no arguments are needed, but adds no argument-level detail beyond that.

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 verb and effect (opens the system browser), the exact target (XBOX CLI with Microsoft Entra ID), and the blocking behavior (waits until sign-in finishes). It also names the sibling that determines when it applies (xbox_auth_status), so the agent can distinguish it from the other xbox_auth tools without reading schemas.

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?

Gives an explicit precondition — use only when xbox_auth_status reports signedIn:false — which functions as both the when-to-use rule and the routing rule to the sibling. It also prescribes the required agent behavior (tell the user to complete sign-in in the browser), leaving nothing to inference.

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