Skip to main content
Glama

Run an XBOX CLI command that changes something

xbox_change
Destructive

Runs an approved XBOX CLI command to modify Partner Center games, playtests, sandboxes, test accounts, service config, or PlayFab, with permissions, classification and audit checks.

Instructions

Runs an XBOX CLI command that changes Partner Center (games, playtests, audiences, test accounts, sandboxes), XBOX services configuration, PlayFab, or this PC's sandbox, with the signed-in user's permissions, often on production titles. Before calling: read the command's xbox_help, check it with xbox_classify, tell the user exactly what will change on which title, seller and sandbox, and get their approval. Pass confirm: true only after that approval. Allowed by mode: read-only allows nothing (the tool explains how to enable it), write allows reversible changes, full also allows irreversible ones (game/sandbox create, RETAIL publishes). Returns the command's output. Exit code 3 means the outcome is unknown: read the state with xbox_read before retrying.

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>",
      "summary": "<summary>"
    },
    "name": "xbox_change"
  }
}

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.
confirmNoAdds --confirm. Only after the user approved this exact change.
summaryYesOne sentence for the audit log: what changes, on which title/seller/sandbox, and that the user approved it.

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 destructiveHint=true, openWorldHint=true, idempotentHint=false, but the description goes well beyond them: it warns that changes often land on production titles, requires human approval before confirm, and explains exit code 3 as an unknown outcome that must be resolved with xbox_read before retrying. It states the command's output is returned, though it does not describe output format or the full failure taxonomy beyond code 3.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then a clearly marked 'Before calling:' block, then mode rules and failure handling — a sensible information hierarchy with no filler sentences. The parenthetical domain lists and run-on clauses make it denser than necessary, but every sentence carries operational value.

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?

For a destructive, open-world mutation tool with no output schema, the description covers the prerequisites (help/classify/approval), the permission and mode model, the safety consequence (production titles, irreversible creates and RETAIL publishes), and recovery from indeterminate failures. Nothing an agent needs in order to call it responsibly is missing.

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?

Schema coverage is 100%, so the baseline is 3; the description earns a point by tying the confirm flag to an approval workflow ('Pass confirm: true only after that approval') and by clarifying that commands run with the signed-in user's permissions, which affects what the command parameter can safely target. It does not add syntax detail for command or args beyond what the schema already documents with examples.

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 (runs a command that changes something) and enumerates the exact resource domains affected: Partner Center games/playtests/audiences/test accounts/sandboxes, XBOX services config, PlayFab, and the local PC sandbox. It is clearly distinguishable from the read-oriented siblings (xbox_read, xbox_classify, xbox_help) by both name and the 'changes something' framing.

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 ordered pre-call ritual: read xbox_help, check with xbox_classify, tell the user exactly what changes on which title/seller/sandbox, get approval, then pass confirm: true. It also names the operating-mode gate (read-only allows nothing, write allows reversible changes, full also allows irreversible ones), so the agent knows both when to use it and when it will be refused.

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