Skip to main content
Glama
richashworth

tlaplus-mcp

by richashworth

tlc_simulate

Randomly explore execution traces of TLA+ specifications to quickly test large state spaces. Use simulation mode for faster checks where exhaustive verification is impractical.

Instructions

Run TLC in simulation mode to randomly explore execution traces. Faster than exhaustive checking but not complete — useful for large state spaces or quick smoke tests.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tla_fileYesAbsolute path to the .tla specification file
cfg_fileNoPath to .cfg file (defaults to same basename as tla_file with .cfg extension)
depthNoMaximum depth of each simulation trace (default 100)
num_tracesNoNumber of traces to generate
seedNoRandom seed for reproducibility
arilNoAril (adjusts the random seed)
workersNoNumber of worker threads, or 'auto' for all cores
deadlockNoCheck for deadlock (default true). Set false to disable deadlock checking.
diff_traceNoShow only changed variables between trace states
extra_argsNoAdditional raw arguments to pass to TLC
Behavior2/5

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

No annotations are provided, and the description only mentions that simulation is faster but incomplete. It does not disclose potential side effects, authorization needs, or limitations beyond incompleteness.

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 sentences succinctly convey the purpose, advantage, and typical use cases without any fluff or repetition.

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?

The description provides essential information but lacks details on output format or behavior of specific parameters, which is somewhat acceptable given the high schema coverage and the tool's exploratory nature.

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?

All 10 parameters have descriptions in the schema (100% coverage), so the description adds no extra meaning beyond what is already in the input schema.

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 the tool runs TLC in simulation mode to randomly explore execution traces, distinguishing it from exhaustive checking. It highlights specific use cases: large state spaces or quick smoke tests.

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 usage for large state spaces or smoke tests when exhaustive checking is too slow, but does not explicitly state when not to use it or mention alternative tools like tlc_check for exhaustive verification.

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/richashworth/tlaplus-mcp'

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