Skip to main content
Glama

Read pin assignments

acf_read_pins
Read-onlyIdempotent

Reads device and pin assignments from an .acf CHIP block and cross-checks them against the compiler-generated .pin report. Use it to verify pin mappings without changing project files.

Instructions

Extract device and pin assignments from the .acf CHIP block, and cross-check them against the compiler-generated .pin report when present. 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.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so 'Read-only.' in the description is redundant. The one genuinely additive behavioral detail is the conditional cross-check against the compiler-generated .pin report when present, but error behavior and result shape are unaddressed.

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, front-loaded with the primary action and followed by the conditional cross-check. No filler or repetition beyond the minor 'Read-only.' restatement of annotations.

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 read-only extraction tool with no output schema, the description covers the source artifact, the scope (device and pin assignments), and the optional verification step. It could say more about what the returned pin data looks like, but nothing essential to correct invocation is missing.

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 (project, workspace) are fully documented in the schema, including ambiguity resolution and env-var defaults. The description adds no parameter-level meaning beyond that, so the baseline 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 ('extract') and precise resources: device and pin assignments from the .acf CHIP block, plus a secondary cross-check against the .pin report. This is distinguishable from siblings like acf_read_sections or acf_validate 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 Guidelines3/5

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

The description implies when the tool applies (reading .acf CHIP pin data) and notes the conditional .pin cross-check when that report exists. However it gives no explicit guidance on when to prefer this over acf_read_sections, acf_validate, or project_inspect, leaving selection to inference.

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