Skip to main content
Glama

layerfs_project_init

Initializes this server's project from an existing host directory through an explicit one-time import; requires Linux and the installed native addon.

Instructions

Initialize this server's project from a host directory. Explicit, one-time import; requires Linux and an installed native addon. Never called automatically.

Input Schema

NameRequiredDescriptionDefault
sourcePathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Goes well beyond annotations: discloses platform requirement (Linux), a native addon dependency, one-time semantics (consistent with idempotentHint=false), and that it is never invoked automatically. Still silent on failure behavior, what state the project ends up in, and whether re-invocation errors out.

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?

Three short sentences, front-loaded with the action, then constraints. No filler; every clause carries actionable information.

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?

No output schema and no description of the resulting state, so the agent doesn't know what to check afterward or how this relates to layerfs_project_list_branches / layerfs_status. Prerequisites are covered, but the post-condition and error surface are not.

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 0% and the single parameter sourcePath is undocumented in the schema. The description partially compensates by saying it comes 'from a host directory', which implies a host filesystem path rather than a workspace path, but adds nothing about absolute-path requirements or path resolution.

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: 'Initialize this server's project from a host directory', and 'one-time import' clarifies the nature of the operation. No sibling performs project initialization, so it is distinguishable, though it never explicitly contrasts with layerfs_workspace_mount or layerfs_project_list_branches.

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?

'Explicit, one-time import' and 'Never called automatically' give clear when-to-use framing plus a when-not (don't invoke implicitly). It stops short of naming alternatives or stating what to do if a project already exists, so it stops below a 5.

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