Skip to main content
Glama
brotato-controller

brotato-controller

by dzhen1515

shop_action

Destructive

Performs shop actions such as buying, locking, unlocking, rerolling, combining, recycling, or advancing to the next wave, then returns the updated shop summary.

Instructions

Execute shop action (buy|lock|unlock|reroll|combine|recycle|next_wave) and return post-action shop summary.

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": {
      "action": "<action>"
    },
    "name": "shop_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotNo
actionYes
weapon_indexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.5

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known; the description adds only that a post-action shop summary is returned, which is genuinely useful given there is no output schema. It says nothing about costs being consumed, whether buy/lock/reroll are reversible, or which actions depend on which optional parameters — a real gap for a destructive tool covering seven distinct operations.

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 front-loaded sentence with the operation and its variable slots placed first, followed by the return behavior. No filler, though the dense parenthetical could have been balanced with one short clause on parameter use.

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

Completeness2/5

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

For a destructive, multi-mode tool with three parameters, no output schema, and zero schema documentation, the definition is too thin. The action enumeration and return-summary note are helpful, but the missing per-action parameter requirements mean an agent could easily invoke it with the wrong combination of slot and weapon_index.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden, and it only partially discharges it: the action values are supplied in prose (valuable, since the schema declares a bare string with no enum), but slot and weapon_index are never mentioned and their conditional relevance to specific actions (e.g. lock/unlock vs combine/recycle) is left entirely unexplained.

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 ('Execute') and resource ('shop action') and enumerates the seven valid action values, which lets an agent recognize the tool's domain immediately. It stops short of distinguishing itself from siblings such as get_game_state or inspect_game, so there is no explicit differentiation.

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

Usage Guidelines2/5

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

The parenthetical action list hints at what operations are possible, but there is no statement of when to reach for this tool versus inspecting state first, no preconditions (currency, eligibility, wave phase), and no when-not guidance. An agent must infer everything about timing and alternatives.

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