Skip to main content
Glama

forge_init

Initialize FORGE in a project directory and create the .forge/ structure with config, context, and learnings files to set up persistent project context for AI coding workflows.

Instructions

Initialize FORGE in a project directory. Creates .forge/ structure with config, context, and learnings files.

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": "forge_init"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNameNoProject name (default: directory name)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses that .forge/ structure and files are created, but says nothing about overwrite behavior on existing directories, required permissions, or whether initialization is idempotent — significant gaps for a scaffolding/mutation tool.

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 tight sentences with zero waste; the action is front-loaded and the created artifacts follow immediately.

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?

Adequate for a simple one-parameter scaffolding tool with no output schema, but with no annotations and no statement of overwrite/safety semantics, an agent lacks enough to call it confidently on an existing project.

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% and the sole projectName parameter is already documented in the schema with its default. The description adds no further meaning about the parameter, so the baseline 3 applies.

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 FORGE in a project directory' and names the artifacts created (.forge/ with config, context, learnings). It does not explicitly distinguish itself from the sibling forge_init_project, leaving slight ambiguity about which init to use.

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?

No guidance on when to use this versus forge_init_project or when-not to use it (e.g., if .forge/ already exists). Usage is only implied by 'Initialize... in a project directory'.

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