Skip to main content
Glama
deanxizian

balatro-codex-mcp

by deanxizian

Choose an opened pack item

balatro_choose_pack_item
Destructive

Choose an item from an open Balatro pack, providing required target card indices for Tarot or Spectral effects. Pass the latest state token to sync your selection.

Instructions

映射上游 pack {card, targets};不猜测 Tarot/Spectral 目标数量。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_indexYes打开的 Pack 内当前 0-based 索引。
target_cardsYes需要时传手牌 0-based 目标索引;否则 null。
expected_state_tokenYes最新 state_token;必填。
Behavior3/5

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

Annotations already mark the tool as destructive and not read-only. The description adds one behavioral constraint: the agent must not guess Tarot/Spectral target counts. But it does not say what gets consumed, what happens after the choice, or how expected_state_token is validated, so behavioral disclosure remains limited.

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?

The description is very short and contains no filler. However, the phrase '映射上游 pack {card, targets}' is cryptic and could be clearer; despite being brief, it sacrifices some clarity for compactness.

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?

Given the destructive annotation and lack of an output schema, the description does not fully explain the consequences of choosing an item or the expected return. It gives one important operational warning but otherwise relies on the title and schema, making it adequate but with clear gaps.

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 coverage is 100%, so the baseline is 3. The description adds meaning beyond the schema by warning not to guess Tarot/Spectral target counts, clarifying that target_cards must be explicitly provided and should not be inferred. This is useful extra semantics for the target_cards parameter, while item_index and expected_state_token are already well described in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The title clearly says 'Choose an opened pack item', but the description itself, '映射上游 pack {card, targets}', describes an internal mapping rather than explicitly stating the purpose. It is not as clear as a direct 'chooses the item at index N from the opened pack' and does not distinguish itself from skip_pack in the description.

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?

The description includes '不猜测 Tarot/Spectral 目标数量', which implies the agent must provide exact target_cards when needed rather than inferring them. However, it gives no explicit 'use when' context, no exclusions, and no comparison to alternative actions like skip_pack.

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