Skip to main content
Glama
deanxizian

balatro-codex-mcp

by deanxizian

Use a consumable

balatro_use_consumable
Destructive

Use a consumable card from the consumable slot, applying its effect to selected hand cards, with expected state token validation.

Instructions

使用消耗牌;目标规则最终以 BalatroBot 校验和拒绝结果为准。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
target_cardsYes需要时传手牌 0-based 索引;不猜测目标数量。
consumable_indexYes消耗牌区域的当前 0-based 索引。
expected_state_tokenYes最新 state_token;必填。
Behavior3/5

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

Annotations already declare destructiveHint: true. The description adds that target rules are 'ultimately subject to BalatroBot validation and rejection results,' disclosing a validation/rejection behavior not captured by annotations. However, it does not explain what is destroyed or what the target rules entail, so the added context is limited.

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?

Two short sentences, front-loaded with the purpose. The second sentence adds a necessary behavioral caveat without unnecessary detail. The description is concise and well-structured with no filler.

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?

With no output schema, the description should clarify what happens when a consumable is used and what the tool returns. It only provides a vague validation caveat, leaving the overall effect and appropriate use cases unclear. The schema helps with parameters but not with behavioral context.

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

Parameters3/5

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

The input schema covers all three parameters with descriptive meanings: consumable_index (0-based index), target_cards (hand indices when needed), and expected_state_token (latest state token). The description adds no extra parameter semantics, and with 100% schema coverage the baseline of 3 applies.

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?

The description states '使用消耗牌' (use a consumable card), which clearly specifies the verb and resource. This distinguishes it from sibling tools like play_cards and discard_cards by focusing on consumables. The caveat about validation does not obscure the primary purpose.

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 description offers no guidance on when to use this tool versus alternatives. It does not mention prerequisites, contexts where a consumable should be used, or how it differs from other actions. The validation caveat is not a usage guideline.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deanxizian/balatro-codex-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server