Skip to main content
Glama

Validate ACF

acf_validate
Read-onlyIdempotent

Statically validate an .acf file to detect defects that block compilation, such as a bare 'CHIP ' header. Read-only check preventing MAX+PLUS II errors.

Instructions

Statically validate an .acf for defects that block compilation, notably the bare "CHIP " header that setacf itself creates when no CHIP section exists yet (MAX+PLUS II then fails with "Missing identifier after section keyword"). Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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.
workspaceNoDirectory that a relative project name is resolved against. Defaults to MAXPLUS2_WORKSPACE, then the server working directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.10.3

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive and closed-world, so 'Read-only' in the description is redundant. What adds value is the disclosure of what it checks (the bare "CHIP " header setacf leaves behind) and the downstream failure mode, which goes beyond the annotation profile.

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?

Front-loaded with the core action ('Statically validate an .acf...'), and the parenthetical defect detail earns its place by explaining the target. It is a single dense sentence, though the nested quoting makes it slightly heavy to parse.

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?

No output schema exists, so the description should ideally indicate the shape of the validation result (pass/fail, list of defects). It explains what is checked but not what comes back, leaving a gap for a validation tool.

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%, so both parameters are fully documented in the schema. The description adds no syntax, resolution, or ambiguity-handling detail beyond that, making the baseline 3 correct.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (validate) and resource (.acf) plus the exact class of defect it targets (the bare "CHIP " header) and why it matters (MAX+PLUS II compile failure). However, it does not distinguish itself from the sibling acf_repair_chip_headers, which addresses the same defect, so the boundary is left to inference.

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?

Usage is only implied: the mention of 'defects that block compilation' suggests a pre-compile check, but there is no explicit when-to-use, no exclusion, and no pointer to acf_repair_chip_headers as the fix path. The agent must infer the workflow.

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