Skip to main content
Glama

Add files to the project

add_project_files

Unpack a ZIP into the project folder, keeping its paths: new footprints into a .pretty library the fp-lib-table names, 3D models, a library table. Existing files are kept unless overwrite is true; the reply lists written, replaced and kept files. Base64, up to about 18 MB zipped.

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": {
      "design_id": "<design_id>",
      "zip_base64": "<zip_base64>"
    },
    "name": "add_project_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
design_idYesThe design id returned by import_kicad_project or list_designs.
overwriteNo
zip_base64Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / design_id / pattern
      Removed value: -"^[A-Za-z0-9_-]{8,80}$"
    • removedInput schema / properties / zip_base64 / maxLength
      Removed value: -24000000
    • removedInput schema / properties / zip_base64 / minLength
      Removed value: -100
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the default non-destructive merge behavior ('Existing files are kept unless overwrite is true'), the size ceiling, the path-preserving unpack semantics, and what the response reports (written, replaced, kept files). It is consistent with destructiveHint=false, though it does not discuss failure modes for oversized or malformed archives.

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 and every sentence carries information — contents mapping, overwrite behavior, return summary, and size limit. The middle clause ('new footprints into a .pretty library the fp-lib-table names, 3D models, a library table') is a compressed fragment list that takes a second read.

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 no output schema, the description still tells the agent what comes back (lists of written, replaced, and kept files), plus the overwrite default and payload limit. For a three-parameter file-ingest tool, nothing an agent needs in order to call it correctly is missing.

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 only 33%, so the description must carry the load, and it mostly does: it explains zip_base64 is base64 and capped around 18 MB zipped, and that overwrite controls whether existing files are replaced. design_id's meaning is supplied by the schema itself, so all three parameters end up with usable semantics.

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?

The description states a concrete verb and resource ('Unpack a ZIP into the project folder') and details the routing of contents: new footprints into a .pretty library named by the fp-lib-table, 3D models, and a library table. That detail separates it from single-item siblings like add_custom_footprint, though no sibling is named explicitly.

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?

Usage is implied — you call this when you have a packaged ZIP of project files to bulk-load — but there is no explicit when-to-use/when-not guidance and no mention of the alternative import_kicad_project (which is only referenced indirectly via the design_id schema description).

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