Skip to main content
Glama

rollout

Run Monte Carlo simulations of a backgammon position to obtain win probabilities and standard deviations, configurable by games, depth, and mode.

Instructions

Perform a cubeless Monte Carlo rollout of a position.

Args: board_input: Board in any supported format. player: Who is on roll ("x" or "o"). Default "x". ngames: Number of games to simulate (default 1296, max configurable). ply: Evaluation depth per move (0, 1, or 2). rollout_type: Rollout mode: "auto", "race", "bearoff", "over". score: Match score as [x_away, o_away]. Omit for money game. cube: Cube state dict. seed: RNG seed for reproducibility.

Returns: Dict with win probabilities and standard deviations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
plyNo
cubeNo
seedNo
scoreNo
ngamesNo
playerNox
board_inputYes
rollout_typeNoauto

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description carries the full burden. It explains the calculation method (Monte Carlo), the return format (dict with probabilities and std devs), and the RNG seed for reproducibility. However, it does not explicitly state that the operation is read-only or free of side effects, which is important in the absence of annotations.

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 well-structured: a one-line summary, followed by a clear Args list and Returns section. Every sentence adds value, and the organization makes it easy to scan. It is appropriately sized for a tool with 8 parameters.

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?

Given the complexity (8 parameters, no annotations), the description covers all parameters and the return type. However, some parameter descriptions are terse (e.g., 'cube state dict' and 'rollout_type' options are listed but not explained in detail). Still, with an output schema, the return values need not be described further.

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

Parameters5/5

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

The schema has 0% description coverage, but the description provides a detailed Args section explaining every parameter, including defaults and valid options (e.g., 'player': Who is on roll, 'ngames': default 1296, 'score': match score format). This fully compensates for the schema's lack of descriptions.

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 clearly states 'Perform a cubeless Monte Carlo rollout of a position' with a specific verb and resource. It distinguishes itself from sibling tools by specifying 'cubeless', which contrasts with the sibling 'cubeful_rollout'.

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 implies when to use the tool via the term 'cubeless', but it does not explicitly say 'use this instead of cubeful_rollout for cubeless analysis' nor mention any conditions or alternatives. The guidance is implicit rather than explicit.

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/hbomze/bb-gnubg-api-mcp'

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