Skip to main content
Glama

remove_library_from_table

Remove a library from the project library table, as the table dialog of KiCad 10 does. The library files stay: KiCad does not delete them.

Instructions

Remove a library from the project library table, as the table dialog of KiCad 10 does. The library files stay: KiCad does not delete them.

KiCad must not have the project open. The installed KiCad must be KiCad 10.0.

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": {
      "project_path": "<project_path>",
      "kind": "<kind>",
      "nickname": "<nickname>"
    },
    "name": "remove_library_from_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes"symbol" or "footprint".
nicknameYesThe nickname of the row.
project_pathYesThe .kicad_pro file or the project folder.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does well: it states that the table row is removed while the underlying library files remain. It also discloses the required project state and KiCad version. It does not discuss persistence details, undo behavior, or error handling, but the core side effect and constraints are clear.

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?

The description is front-loaded with the action and its key non-destructive property. The two prerequisite sentences are short and each adds necessary operational context. There is no redundant restatement of the tool name or schema details.

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 mutation tool with no annotations, the description covers the essential behavior: it removes a table entry without deleting files and requires the project to be closed under KiCad 10.0. Since an output schema exists, return-value explanation is not needed, and the schema fully documents parameters. Some operational details such as persistence timing or error behavior are absent, but the definition is sufficient for correct invocation.

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 the schema already documents project_path, kind, and nickname. The description does not add parameter syntax or format guidance beyond what the schema provides. The baseline score of 3 is appropriate because the schema does the parameter-level work.

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 states a specific verb and resource: removing a library from the project library table. It also distinguishes the action from deleting library files by explicitly saying the files stay. This differentiates it clearly from add_library_to_table and from file-deletion tools.

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 gives clear prerequisites: KiCad must not have the project open, and KiCad 10.0 must be installed. It also clarifies that the library files are not deleted, which is an important usage boundary. It does not explicitly name sibling alternatives such as add_library_to_table or set_library_table_row, but the context is otherwise well constrained.

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