Skip to main content
Glama

get_footprint

Read-only

Get a component's full footprint details by reference designator: position, rotation, bounding box, pad nets, and types. Use this to verify connectivity and physical dimensions.

Instructions

Returns detailed information about a single footprint (component) by its reference designator. Includes position, rotation, layer, bounding box, custom fields (like Value and Footprint library name), and a full list of pads with their net names, positions in millimeters, and pad types (SMD, through-hole, NPTH, edge-connector). Use this when you need to understand a specific component's connectivity or physical dimensions. If the reference does not exist on the board, the error response lists all available reference designators you can use instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
referenceYesReference designator of the footprint to inspect. Examples: U1, R1, C1, J1, D1. Use list_footprints to discover available references.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations already declare readOnlyHint and destructiveHint; the description adds context by detailing specific returned data (position, rotation, pads, net names) and error behavior (lists available references). No contradictions with annotations.

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?

Four sentences with clear structure: purpose, contents, usage, error behavior. Each sentence adds value, though slightly more verbose than strictly necessary.

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?

With output schema present and read-only annotations, the description fully explains the return values and error handling. Complete for a simple read-only 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 coverage is 100% with examples and a pointer to list_footprints. The description only repeats 'reference designator' without adding meaning beyond what the schema already provides.

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?

Clearly states 'Returns detailed information about a single footprint' with a specific verb and resource, distinguishing it from list_footprints (which lists all) and edit_footprint (which modifies).

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?

Provides explicit guidance: 'Use this when you need to understand a specific component's connectivity or physical dimensions.' Does not name alternative tools directly, but the error behavior hints at discovering references.

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