Skip to main content
Glama

project_init

Idempotent

Register the server root directory as an Istok project to record its tasks, runs, and context in Istok's local database without writing files there. Use only when unregistered.

Instructions

Register the directory this MCP server was started in (the server root) as an Istok project, so tasks, runs and context can be recorded for it. Nothing is written into the directory itself; the project lives in Istok's local database. If the directory is already registered, the existing project is returned with created=false and nothing changes. Call project_current first and use this only when the directory is not registered and the user asked to register it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "project_init"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoDisplay name of a new project. Defaults to the name of the directory. Ignored when the directory is already registered.

Output Schema

NameRequiredDescriptionDefault
errorNo
createdYes
projectNo
schema_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.5
    • addedInput schema / properties / name / description
      Added value: +"Display name of a new project. Defaults to the name of the directory. Ignored when the directory is already registered."
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare non-read-only, non-destructive, idempotent, closed-world behavior, but the description adds context those hints cannot: no files are written into the directory itself, state goes into Istok's local database, and a repeat call returns the existing project with created=false and changes nothing. That is meaningful disclosure about the nature and location of the side effect rather than a restatement of the hints.

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?

Four short sentences, front-loaded with the action and scope, followed by side-effect disclosure, repeat-call behavior, and routing guidance. Nothing is redundant or padded; each sentence adds a distinct fact an agent needs.

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?

An output schema exists, so return values need not be described in depth, yet the description still flags the key created=false case. For a zero-required-parameter registration tool, the definition covers purpose, side effects, idempotency, and ordering against the sibling, leaving nothing an agent needs unresolved.

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 description coverage is 100% and the single parameter already documents its default (directory name) and that it is ignored for an existing registration. The description adds no further meaning about the name parameter, so the schema carries the load and baseline 3 applies.

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?

States a specific verb and resource ("Register the directory ... as an Istok project") and pins the scope precisely to the server root rather than an arbitrary path. It also names the sibling tool (project_current) and the boundary between them, so an agent can distinguish the two without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use and when-not-to-use guidance: check project_current first, invoke this only when the directory is unregistered AND the user asked to register it. Both the precondition and the alternative are spelled out.

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