Skip to main content
Glama
Backpack Battles MCP

Backpack Battles MCP

by 53721222-gif

bpb_set_class

Set the starting class (0=Ranger, 1=Reaper, 2=Berserker, 3=Pyromancer, 4=Mage, 5=Adventurer, 6=Engineer) and optional loadout (0-2) before starting a run.

Instructions

标题界面选择职业(0=Ranger,1=Reaper,2=Berserker,3=Pyromancer,4=Mage,5=Adventurer,6=Engineer);可同时指定 loadout(0-2),随后用 bpb_start_run 开局。

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": {
      "class_id": "<class_id>"
    },
    "name": "bpb_set_class"
  }
}

Input Schema

NameRequiredDescriptionDefault
loadoutNo
class_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose a meaningful precondition — this applies at the title screen and is expected to precede bpb_start_run — which is genuine behavioral context. It says nothing about whether the call fails mid-run, whether it overwrites a prior selection, or what it returns, leaving real gaps for a state-mutating tool.

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?

A single dense sentence that front-loads the action, then the enum mapping, then the sequencing hint — no filler. The semicolon-chained structure is compact but readable; it earns its length.

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 2-parameter tool with no annotations and no output schema, the description covers both parameters and the call ordering, which is the minimum viable set. It omits the effect of an invalid or out-of-phase call and any statement about return values or state persistence, so an agent still has unanswered questions before invoking it.

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 description coverage is 0%, so the description must compensate, and it largely does: it enumerates all seven class_id values and gives the 0-2 range for loadout, which the bare integer bounds do not explain. The remaining gap is that "loadout" itself is never defined (starting kit? preset?), so the agent knows the valid values but not their meaning.

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 and resource: choose a class on the title screen, with the full class-id mapping (0=Ranger … 6=Engineer) that the schema lacks. It also names the follow-up tool bpb_start_run. It does not explicitly distinguish itself from the sibling bpb_set_loadout, which is a nearby ambiguity, but the core purpose is unmistakable.

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?

"标题界面" (title screen) and "随后用 bpb_start_run 开局" establish the context and the ordering constraint, so usage is implied rather than stated. There is no explicit when-not guidance (e.g. whether it can be called mid-run or after a run has started) and no routing to bpb_set_loadout as the alternative for changing loadout later.

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