Skip to main content
Glama

Search KiCad parts

search_library
Read-onlyIdempotent

Search the KiCad symbol and footprint libraries, many queries in one call. Each query: keywords (e.g. 'LM2576 adj', 'SOIC-14', 'TO-220-5 vertical') and kind.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "queries": "<queries>"
    },
    "name": "search_library"
  }
}

Input Schema

NameRequiredDescriptionDefault
queriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/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 safety and side-effect profile are fully covered without help. The description adds only the batching behavior and example query syntax; it says nothing about result ordering, completeness, or what happens when no match is found.

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?

Two front-loaded sentences with the batching capability stated first and the per-query detail second; no filler. The second sentence is terse to the point of abbreviation ('Each query: keywords ... and kind'), which costs a little clarity.

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?

The tool is simple (one required array parameter) and annotations cover the safety profile, but with no output schema the description never indicates what a search returns or how matches are ranked or shaped. For a search tool that gap matters to an agent deciding whether to call it or fall back to part_info.

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 0%, so the description must carry the load. It does explain that each query carries keywords and a kind, and gives concrete keyword examples ('LM2576 adj', 'SOIC-14', 'TO-220-5 vertical'), but it never explains what 'kind' selects or whether it can be omitted, leaving the enum unexplained.

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 and resource: search the KiCad symbol and footprint libraries, batched into one call. An agent can tell it targets symbol/footprint libraries rather than a general part catalog, though it does not name a sibling like search_catalog to sharpen the boundary.

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 phrase 'many queries in one call' implies the intended batch usage, and the query examples show acceptable input forms. However, there is no explicit guidance on when to prefer this over search_catalog or part_info, nor any prerequisite or exclusion stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources