Skip to main content
Glama

create_project

Creates a new empty LibrePCB 2.x project with a Main schematic and optional rectangular board, then verifies it using librepcb-cli.

Instructions

Create a new, empty LibrePCB 2.x project (schematic 'Main', optional board with a rectangular outline). The result is verified by opening it with librepcb-cli.

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": {
      "directory": "<directory>",
      "name": "<name>"
    },
    "name": "create_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesProject name
authorNoAuthor metadata
directoryYesNew (or empty) directory inside a configured root
with_boardNoAlso create board 'default'
board_width_mmNo
board_height_mmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive write. The description adds real value beyond that: the created project is 'empty', it always contains a 'Main' schematic, the board is optional, and the output is verified by opening it with librepcb-cli — implying an external validation step and potential latency or failure mode. It still omits what happens when the directory is non-empty and what is returned on success.

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?

Two sentences, front-loaded with the core action and the produced artifacts, followed by the verification behavior. No redundant restatement of the name or of schema-declared defaults.

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?

For a six-parameter mutation tool with no output schema, the description covers creation scope and validation but says nothing about the return value (e.g., resulting project path or identifier) or error behavior on a non-empty target directory. Annotations carry the safety profile, so this is adequate but not complete.

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 67%, with board_width_mm and board_height_mm undescribed, but the description supplies the missing linkage: the board (and therefore its rectangular outline and dimensions) is optional. That clarifies the conditional relationship between with_board and the dimension parameters, adding meaning the schema does not express.

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 ('Create a new, empty LibrePCB 2.x project') and specifies exactly what the result contains (a 'Main' schematic, plus an optional board with a rectangular outline). It implicitly separates itself from sibling creators like create_schematic and create_board by noting these artifacts are generated up front, but it never names or explicitly contrasts those siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no when-to-use guidance, no prerequisites, and no alternatives (e.g., when to call this versus create_board/create_schematic on an existing project, or what to do if a project already exists). Usage must be inferred entirely from the tool name and from schema-level hints such as 'New (or empty) directory'.

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