Skip to main content
Glama

design_load_fab_profile

Validates a fab capability profile against required manufacturing limits and returns its normalized form. Use it to gate fabrication data before synthesizing PCB design rules.

Instructions

Validate a fab capability profile and echo the normalized form.

Stage 8 of the autonomous flow (rules & stackup, reference/autonomy-roadmap.md): before synthesizing design rules, the fab's published limits are captured as a FabProfile dict -- transcribed from the fab's capability page (cite it in source), NEVER recalled from memory. This tool is the schema gate: it validates the dict (all dimensions MILS, copper weight oz/ft^2, stackups with copper outer layers and no adjacent copper plies) and returns the normalized profile for design_synthesize_rules.

Args: profile: FabProfile as a JSON object/dict: name, optional source citation, copper_layer_counts, the seven min_*_mils floors, and optional stackups.

Returns: {"ok": True, "profile": {...}, "stackups": [names], "summary": "..."} or {"ok": False, "reason": "..."}.

Input Schema

NameRequiredDescriptionDefault
profileYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and mostly succeeds: it discloses the concrete validation rules (MILS dimensions, oz/ft^2 copper weight, copper outer layers, no adjacent copper plies) and both success and failure response shapes. It only implies read-only/pure behavior rather than stating it, and doesn't say whether failed validation raises or just returns ok:false beyond the shape shown.

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?

Purpose and the never-from-memory rule are front-loaded, and the Args/Returns blocks map cleanly to the schema and response. It is somewhat verbose (roadmap path citation, docstring-style formatting) but every section carries usable information.

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 single nested-object parameter with no annotations, the description supplies the domain vocabulary, units, validation constraints, return shape, and downstream consumer — enough to call it correctly. Only the exact min_* key naming and explicit purity statement are left implicit.

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 0%, so the description must compensate, and it does: it enumerates the expected keys (name, source citation, copper_layer_counts, seven min_*_mils floors, optional stackups) and their unit conventions. It stops short of giving exact key names for the seven min_* fields, leaving macro-pattern inference.

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 pair (validate + echo normalized form) against a named resource (FabProfile) and explicitly positions itself as the 'schema gate' feeding design_synthesize_rules. An agent can distinguish it from any sibling without opening the schema.

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 clear sequencing context (Stage 8, before synthesizing design rules) and a hard constraint on data provenance (transcribe from the fab capability page, never recall from memory). It stops short of naming when NOT to use it or a sibling alternative to skip to, but the operational context is strong.

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

Deploy Server

Other Tools