Skip to main content
Glama

create_project

Creates a project record from an absolute folder path and returns its slug; if no slug is supplied, derives one from the folder name.

Instructions

Create a project; slug? derives from the folder name and must match ^[a-z0-9][a-z0-9._-]{0,31}$ ("legacy" is reserved). Output {slug}

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

Input Schema

NameRequiredDescriptionDefault
slugNolowercase ^[a-z0-9][a-z0-9._-]{0,31}$; defaults to the normalized folder name
folder_pathYesabsolute path of the project folder on the host that creates the row (an annotation; normalized, never checked for existence, never resolved against the server cwd). A relative path is refused: INVALID: folder_path must be an absolute path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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-destructive, non-idempotent, closed-world write, so the safety profile is covered. The description adds genuinely new behavior: folder_path is stored as an annotation and is never checked for existence or resolved against the server cwd, and the response is just {slug}. It stops short of saying what happens on a duplicate slug or a failed write.

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 compact sentences, front-loaded with the action and ending on the return value; nothing is wasted. The telegraphic phrasing ('slug? derives from', quoted regex inline) is slightly cryptic but not padded.

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 two-parameter create tool with no output schema, the definition covers the write semantics, the slug constraint, the path rules, and the return shape. Gaps are limited to error behavior on collision and required permissions, which are secondary for this complexity level.

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 coverage is 100%, so both parameters are already documented in the input schema. The description adds one useful detail not in the schema — that 'legacy' is a reserved slug — but otherwise restates the regex and the default-to-folder-name rule, which lands at the baseline 3.

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 ('Create a project') and immediately narrows scope with the slug derivation and validation rule plus the output shape. It does not explicitly contrast with siblings like update_project or delete_project, which keeps it short of a 5.

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?

There is no explicit guidance on when to call this versus update_project, list_projects, or get_template, and no prerequisites (permissions, whether the folder must exist) are stated. Usage must be inferred purely from the verb 'Create'.

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