Skip to main content
Glama

Plan a setacf change

setacf_plan
Read-onlyIdempotent

Preview the exact setacf.exe argument vector for a planned .acf change before it edits in place. Use it first, since the tool has no dry-run mode.

Instructions

Build the exact setacf.exe argument vector for a change WITHOUT executing it. Always call this first: setacf edits the .acf in place and has no dry-run mode.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pinNoPin number.
kindNoPin assignment kind.
rootNoMAX+PLUS II install root.
valueNoRaw value for advanced use.
createNoCreate the .acf if missing (-c).
deviceNoSet the DEVICE assignment, e.g. EP1K30TC144-1.
signalNoSignal name, e.g. "|CLK" or "CLK".
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.
sectionNoSection name (defaults to CHIP for device/pin edits).
modifyToNoModify an existing section value (-m).
variableNoRaw variable for advanced use.
workspaceNoDirectory that a relative project name is resolved against. Defaults to MAXPLUS2_WORKSPACE, then the server working directory.
prependPathNoPrepend a hierarchy path (-p).
sectionValueNoSection value, e.g. the chip name.
deleteVariableNoDelete a variable (-d).

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=true, destructiveHint=false and idempotentHint=true, so safety is covered structurally. The description adds genuinely useful behavior: that no mutation occurs and that the underlying setacf tool has no dry-run, explaining why planning is mandatory before applying.

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 short sentences, zero filler, with the non-execution constraint and the mandatory-call ordering front-loaded. Nothing is wasted and no sentence is redundant.

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?

For a 15-parameter planning tool with no output schema, the description covers the essential contract (produces an argument vector, does not execute). It could say a bit more about what the caller does with the returned vector, but the missing detail is minor.

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?

Schema description coverage is 100% across all 15 parameters, so the schema already documents each field (pin, kind, device, signal, etc.). The description adds no parameter-level detail such as which combination is required for a given edit type, so the baseline of 3 applies.

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 output ('Build the exact setacf.exe argument vector') plus the crucial constraint ('WITHOUT executing it'). This clearly distinguishes it from setacf_apply, the sibling that would run the change.

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?

Gives explicit ordering guidance ('Always call this first') and the reason (setacf edits in place, no dry-run mode), which is exactly the when-to-use context an agent needs. It stops short of naming setacf_apply as the follow-up execution step, so routing to the alternative is implied rather than stated.

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