Skip to main content
Glama

Plan a maxplus2 run

maxplus2_plan
Read-onlyIdempotent

Build the exact maxplus2.exe command line for compile, timing analysis, simulation, or object conversion without running it.

Instructions

Build the exact maxplus2.exe command line for compile / timing analysis / simulation / object conversion, WITHOUT running it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoWorking directory for the child process. Defaults to the project directory, which is where MAX+PLUS II expects to run.
rootNoMAX+PLUS II installation root, for example C:\maxplus2. Defaults to MAXPLUS2_ROOT, then a scan of common paths.
taRegNoTiming Analyzer, Registered Performance (-ta_reg).
outHexNoHEX output (-hex). REJECTED by this build; compiling already writes <project>.hex.
outJ11NoHEX output (-hex). REJECTED by this build; compiling already writes <project>.hex.
outJamNoJAM STAPL output (-jam). REJECTED by this build.
outJb1NoJBC 1.0 output (-jb1). REJECTED by this build.
outJbcNoJBC 2.0 output (-jbc). REJECTED by this build.
outPofNoPOF output (-pof). REJECTED by this build, but compiling writes <project>.pof anyway.
outRbfNoRBF output (-rbf). REJECTED by this build.
outSbfNoSBF output (-sbf). REJECTED by this build.
outSvfNoSVF output (-svf). REJECTED by this build, so this installation cannot derive a JTAG programming file.
outTtfNoTTF output file (-ttf). REJECTED by this build; compiling writes <project>.ttf.
simCmdNoSimulator command file (-cmd). REJECTED by this build.
simHstNoSimulator command file (-cmd). REJECTED by this build.
simScfNoStimulus file. A .vec is converted by the Simulator; END_TIME must be 0.0ns for that to span the run.
simTblNoWhere to write the simulator result table. Plain text, and what verification reads back.
simVecNoStimulus file. A .vec is converted by the Simulator; END_TIME must be 0.0ns for that to span the run.
compileNoRun the Compiler (-c).
convertNoConvert object files (-convert).
projectYesProject name (for example "top") or an absolute path to its .acf file. A bare name is resolved against workspace, and is rejected as ambiguous if several projects share it.
rebuildNoBack up/move matching top and numbered hierarchy CNF before compile to force source extraction (default true); false requests native incremental reuse.
taDelayNoTiming Analyzer, Delay Matrix (-ta_delay).
taSetupNoTiming Analyzer, Setup/Hold (-ta_setup).
simulateNoRun the Simulator (-s).
workspaceNoDirectory that a relative project name is resolved against. Defaults to MAXPLUS2_WORKSPACE, then the server working directory.
ignoreErrorsNoContinue past errors (-i).
timingAnalyzerOutputNo-tao file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.10.3

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description still adds genuine value by clarifying that the output is the constructed command line itself, not side effects. It doesn't mention validation errors or what the returned plan looks like, but annotations carry most of the burden here.

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?

A single efficient sentence, front-loaded with the verb and resource, and the key non-execution constraint is stated immediately. No waste, though the very terse style leaves no room for additional orientation that a 28-param tool might benefit from.

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?

With 28 parameters, no output schema, and a sibling apply/run tool, the description covers the core non-execution behavior but says nothing about what the returned plan is, whether it validates inputs, or how it relates to maxplus2_run/setacf_plan/job_status in a workflow. Adequate given full schema coverage and annotations, but thin for a tool of this complexity.

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 description coverage is 100%, so the schema does the heavy lifting and baseline is 3. The description's explicit framing of the mode categories (compile / timing analysis / simulation / object conversion) helps an agent mentally group the 28 parameters, adding real orientation value beyond the flat 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?

States a specific verb (build the command line), resource (maxplus2.exe), and critically distinguishes itself from the sibling maxplus2_run by emphasizing 'WITHOUT running it.' That is exactly the distinction an agent needs to choose between plan and run.

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 makes the plan-vs-execute distinction clear through the phrase 'WITHOUT running it,' and the sibling maxplus2_run is implied as the alternative. It doesn't explicitly name maxplus2_run nor lay out when planning is preferred over direct execution, so it falls short of a 5.

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