Skip to main content
Glama
Backpack Battles MCP

Backpack Battles MCP

by 53721222-gif

bpb_refresh_shop

Refresh the shop by spending gold, using the reroll cost from state.shop.reroll_cost. Get new item choices when current options are unsuitable.

Instructions

刷新商店(消耗金币,费用见 state.shop.reroll_cost)。

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it does disclose the key trait that this is a resource-consuming mutation and where the price lives. It omits what happens to the existing shop stock, whether the call fails or is a no-op when gold is insufficient, and what the agent receives back.

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?

One parenthetical sentence with zero waste: the action, the cost, and the exact state path for the cost are front-loaded. Nothing is repeated from the schema or padding the text.

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 zero-param mutation with no annotations and no output schema, the definition covers the cost angle but leaves the agent guessing about failure modes (insufficient gold) and the return payload. A short clause on what changes in the shop after the call would close the gap.

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 per the baseline there is nothing for the description to disambiguate. The single sentence correctly focuses on the side effect rather than inventing parameter guidance.

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 gives a specific verb ('刷新' / refresh) and resource ('商店' / shop), which unambiguously separates it from siblings like bpb_buy_item or bpb_sell_item. It does not explicitly name or contrast with any sibling, which keeps it out of 5 territory.

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?

It discloses the precondition (costs gold) and points at state.shop.reroll_cost for the price, which is useful context for deciding to call it. However, it never states when to refresh vs. when not to (e.g. whether an unaffordable call errors or no-ops), nor does it reference any alternative tool.

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