Skip to main content
Glama

get_board_stats

Read-only

Summarize PCB routing completeness from dimensions, track length, via count, zone count, and unrouted nets. Identify fully routed boards and track design iterations.

Instructions

Returns aggregate statistics about the PCB board: dimensions in millimeters, total routed track length in millimeters, via count, zone count, and the number of unrouted (unconnected) nets. Use this for a quick summary of the board's routing completeness. A board with zero unrouted nets is fully routed. Compare total track length across design iterations to track routing progress.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already mark the tool as read-only and non-destructive. The description adds interpretive context about what the stats mean, such as zero unrouted nets indicating a fully routed board, which helps the agent understand the output's significance.

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?

Three sentences, front-loaded with the core function, followed by practical usage guidance. No redundant wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity and the presence of an output schema, the description sufficiently covers what the tool returns and how to interpret it. It also provides enough context to differentiate from sibling tools.

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?

With zero parameters, the schema covers all requirements. The description adds no parameter-specific information, but none is needed.

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?

The description clearly states the tool returns aggregate board statistics, enumerating the specific metrics (dimensions, track length, via count, zone count, unrouted nets). This distinguishes it from sibling tools like get_board_info and list_zones, which serve different purposes.

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 explicitly advises using the tool for a quick summary of routing completeness and suggests comparing track length across iterations. It does not name alternative tools for when not to use it, but the context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Amagtoto/pcb-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server