Skip to main content
Glama

Check what a command would do

xbox_classify
Read-onlyIdempotent

Classifies an XBOX CLI command before running it, showing read vs change behavior, undoability, allowed mode, assigned tool, and exact command line to validate proposed changes.

Instructions

Without running anything, reports whether an XBOX CLI command reads or changes state, whether the change can be undone, which tool runs it (xbox_read or xbox_change), whether this server's mode allows it, and the exact command line. Use it before proposing any change to the user.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "command": "<command>"
    },
    "name": "xbox_classify"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoOptions and values, one per item, e.g. ["--store-id", "9N0000000000"]. Never --output, --no-input or --confirm: the server sets those.
commandYesCommand path without "xbox" and without options, e.g. "playtest list" or "playfab mps build list". xbox_help lists the commands.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.2
    • changedInput schema / properties / args / description
      Previous value: -"Options and values, one per item, e.g. [\"--store-id\", \"9N0000000000\"]. Never --output, --no-input or --confirm."New value: +"Options and values, one per item, e.g. [\"--store-id\", \"9N0000000000\"]. Never --output, --no-input or --confirm: the server sets those."
    • changedInput schema / properties / command / description
      Previous value: -"Command path without \"xbox\" and without options, e.g. \"playtest list\" or \"playfab mps build list\"."New value: +"Command path without \"xbox\" and without options, e.g. \"playtest list\" or \"playfab mps build list\". xbox_help lists the commands."
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

The readOnlyHint/idempotentHint/destructiveHint annotations are consistent with the claim "Without running anything," and the description reinforces this by revealing that no side effects occur and that server mode gates which commands are permitted. It adds real value beyond annotations by disclosing the classification dimensions the tool returns. It does not cover failure behavior for malformed or unknown commands, which keeps it below a 5.

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 sentences: the first front-loads the non-executing guarantee and then lists the concrete outputs; the second is a directive on when to use it. The enumerated list is dense but every item carries distinct information, and there is no redundant restatement of the title or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must convey what comes back, and it does so by naming each reported attribute, including the exact command line and mode-permission verdict. Combined with the annotations covering the safety profile and a fully documented input schema, nothing material is missing for an agent to call and interpret this tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the schema already restricts args (never --output/--no-input/--confirm) and gives command-path examples plus a pointer to xbox_help. The description adds no parameter-level detail of its own, so the baseline 3 for a fully documented schema is appropriate.

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?

The description opens with a specific verb and resource ("reports whether an XBOX CLI command reads or changes state") and explicitly enumerates what is classified: read vs. change, reversibility, routing tool, mode permission, and the resolved command line. It also names the sibling tools xbox_read and xbox_change, so an agent can distinguish a dry-run classifier from the executors without opening either schema.

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

Usage Guidelines4/5

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

There is a clear, actionable trigger: "Use it before proposing any change to the user," which tells the agent exactly when to reach for this tool instead of calling xbox_read or xbox_change directly. It stops short of stating explicit exclusions (e.g. that it should not be used to actually execute, or when to skip classification), so it falls just short of a full when/when-not pair.

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