Skip to main content
Glama

sim_distill

Destructive

Distill exact search into the play scorer: fit rate multipliers for named transition groups so play's rankings agree with exact minimax, on positions sampled by random self-play and labeled by search. This is TACTICAL calibration — the counterpart of sim_calibrate, which learns rates from an event log. The division of labor is deliberate (petri-pilot experiments/ode-minimax): structure carries the tactic, and no fitting of an unmodified net's rates can express what its final state cannot separate — declare the structural prior as transitions in the model (e.g. forced-reply copies of the plays, catalyzed by the opponent's pattern) and distill the magnitudes it introduced. Zero agreement improvement is a finding about the structure, not a failed fit. Read agreementBefore/agreementAfter, not the loss: the hinge loss can overstate failure while every argmax is right. At most 16 groups, each non-empty, and no transition in two groups; the estimated work (loss evaluations × candidate moves × realizations × horizon) must stay under a fixed cap, and an over-cap request is refused with the estimate. Costs 5 tokens from your account's compute bucket at the defaults, scaled by that work estimate (rounded up).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesmodel id (needs simulation.objective, players with turnPlace)
groupsYesJSON object: group name -> transition ids sharing one fitted multiplier, e.g. {"detectors":["x_win_0","o_win_0"],"draw":["call_draw"]}
optionsNoJSON: {"games":20,"positions":40,"iters":40,"horizon":3,"realizations":40,"seed":11,"engine":""} (the defaults shown; 0 or unset takes the default). Caps: games at most 100, positions at most 100, iters at most 100, realizations at most 200, horizon at most 10000; over a cap, a negative value or an unknown key is refused

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / options / description
      Previous value: -"JSON: {\"games\":20,\"positions\":40,\"iters\":40,\"horizon\":3,\"realizations\":40,\"seed\":11,\"engine\":\"\"}"New value: +"JSON: {\"games\":20,\"positions\":40,\"iters\":40,\"horizon\":3,\"realizations\":40,\"seed\":11,\"engine\":\"\"} (the defaults shown; 0 or unset takes the default). Caps: games at most 100, positions at most 100, iters at most 100, realizations at most 200, horizon at most 10000; over a cap, a negative value or an unknown key is refused"
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare mutation (readOnlyHint=false, destructiveHint=true, idempotentHint=false, openWorldHint=true), so the safety bar is lower. The description nevertheless adds real behavioral context beyond them: the token cost (5 from the compute bucket, scaled and rounded up), refusal on over-cap requests with the estimate returned, and guidance to read agreementBefore/agreementAfter rather than loss. Minor gap: it doesn't say whether the fitted multipliers persist or are reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and every sentence carries information, but the prose is dense and jargon-laden, mixing rationale and constraints into long clauses. It is longer than needed for a 3-parameter tool and could be tightened without losing content.

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

Completeness5/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 carries the return-value burden and does it ('Read agreementBefore/agreementAfter, not the loss'), plus caps, cost, and refusal semantics. An agent has everything required to build a valid, in-budget request.

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 baseline is 3, but the description adds genuine constraint semantics: at most 16 groups, each non-empty, no transition in two groups, and the work-estimate cap formula (loss evaluations × candidate moves × realizations × horizon). These are usage rules the schema fields do not encode.

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?

States a specific verb and resource ('Distill exact search into the play scorer: fit rate multipliers for named transition groups') with the goal condition ('so play's rankings agree with exact minimax'). It explicitly names the sibling it is not (sim_calibrate) and the axis that separates them, so an agent can route without opening schemas.

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

Usage Guidelines5/5

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

Provides explicit when-to-use via the counterpart framing ('This is TACTICAL calibration — the counterpart of sim_calibrate, which learns rates from an event log') and the deliberate division of labor. It even tells the agent how to interpret a null result ('Zero agreement improvement is a finding about the structure, not a failed fit').

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources