Skip to main content
Glama
deanxizian

balatro-codex-mcp

by deanxizian

Reroll the shop

balatro_reroll_shop
Destructive

Reroll Balatro's current shop to obtain new cards. Supply the expected state_token to confirm the shop state is still valid, preventing issues after a refresh.

Instructions

仅 SHOP 可用;商店索引在刷新后全部失效。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expected_state_tokenYes最新 state_token;必填。
Behavior4/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false. The description adds a meaningful side-effect disclosure: '商店索引在刷新后全部失效' (all shop indices become invalid after refresh), which is behavioral context beyond annotations. No contradiction detected.

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?

The description is extremely concise—one short sentence with two clauses—and every part earns its place: availability condition and invalidation side-effect. It is front-loaded and free of filler.

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?

This is a simple tool with one parameter and no output schema. The description covers the critical constraints (SHOP-only usage and index invalidation) and is adequate for an agent to use it correctly. A slight additional statement about what rerolling actually does (e.g., refreshes items) would make it fully complete, but the title provides that.

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 single parameter expected_state_token is fully documented in the schema (100% coverage), so the description does not need to add parameter details. The baseline of 3 applies because the schema carries the burden and the description does not contradict or add extra parameter meaning.

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 title 'Reroll the shop' clearly identifies the action and resource, distinguishing it from siblings like buy/discard/sell. The description adds availability context but does not explicitly restate the core purpose, relying on the title for that.

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?

The description states '仅 SHOP 可用' (only available in SHOP), providing clear context for when the tool is applicable. It does not mention alternatives or explicit exclusions, but the condition is a useful 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