Skip to main content
Glama

set_library_table_row

Enable, disable, show or hide a library of the project library table, as the table dialog of KiCad 10 does.

Instructions

Enable, disable, show or hide a library of the project library table, as the table dialog of KiCad 10 does.

KiCad does not load a disabled library. A hidden symbol library is loaded, but the symbol chooser and the library tree do not show it. Only a symbol table has the visible flag. 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": "set_library_table_row"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes"symbol" or "footprint".
enabledNoTrue enables the library, False disables it. None: no change.
visibleNoTrue shows the library, False hides it (symbol tables only). None: no change.
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.5/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it explains that a disabled library is not loaded by KiCad, that a hidden symbol library is still loaded but omitted from the symbol chooser and library tree, and that only symbol tables support the visible flag. It also discloses the exclusivity constraint (project must be closed) and a hard version requirement, which are exactly the behavioral facts an agent cannot infer elsewhere.

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?

The action is front-loaded in the first sentence, and the following sentences each carry distinct operational facts (flag semantics, project-closed requirement, version requirement) rather than filler. The phrasing 'as the table dialog of KiCad 10 does' is marginally redundant with the explicit version requirement stated later.

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 supplies the safety-relevant context, and an output schema exists so return values need not be described. The remaining gap is whether the operation fails or creates a row when the nickname is not already present, which matters given the 'set_..._row' naming.

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 coverage is 100%, so the baseline is 3; the description earns more by adding downstream consequences that the schema does not state — what 'disabled' means for library loading and what 'hidden' means for UI visibility, plus the constraint that visible applies to symbol tables only. It does not clarify the expected outcome when both flags are null (a no-op) or whether an unknown nickname creates a row.

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 opens with a precise verb set ('Enable, disable, show or hide') applied to a specific resource ('a library of the project library table'), making clear it toggles flags on an existing row rather than adding or removing one. That implicitly separates it from siblings like add_library_to_table and remove_library_from_table without needing to name them.

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?

It gives concrete preconditions that gate correct use: 'KiCad must not have the project open' and 'The installed KiCad must be KiCad 10.0.' It also clarifies the enabled vs visible distinction, which guides which parameter to pick. It stops short of explicitly routing to an alternative tool or stating when the tool should not be used at all.

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