Skip to main content
Glama
Backpack Battles MCP

Backpack Battles MCP

by 53721222-gif

bpb_get_phase

Retrieve lightweight game state and phase details without touching inventory, so you can wait for combat resolution or decide whether to proceed to the next round.

Instructions

轻量状态:state/round/tries/gold/wins/total_wins/survival/can_skip_result/last_result。战斗期间可安全调用,不会触碰背包;用于等待结算或判断是否进入下一阶段。

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does add genuine behavioral facts: it is lightweight, callable safely mid-battle, and has no side effects on the backpack. It stops short of explicitly declaring read-only semantics or describing return value shapes beyond the field names.

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?

Two short clauses, front-loaded with the returned fields followed by the safety/usage note. Every element carries information; only minor cost is that the field list is a bare enumeration without explanation of individual fields.

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?

There is no output schema, so the description must convey return content, and it does list the fields plus the key usage scenario. It could go further by explaining what values 'state' or 'survival' can take, but for a zero-parameter lightweight getter it is adequately complete.

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 the baseline is 4. The description's field enumeration describes the response rather than inputs and does not conflict with anything in the empty schema.

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?

The description states the tool returns lightweight state and enumerates exactly which fields (state/round/tries/gold/wins/total_wins/survival/can_skip_result/last_result), which is a concrete resource. It implicitly separates itself from bpb_get_state by calling itself '轻量' and saying it does not touch the backpack, though it never names that sibling explicitly.

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?

It gives clear usage contexts: safe to call during battle, for waiting on resolution, or for deciding whether to advance to the next phase. It does not name alternatives such as bpb_wait_for_result or bpb_get_state, so the routing guidance is contextual rather than explicit.

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