Skip to main content
Glama

Sor Init

sor_init

Initialize SOR in a project directory to fetch a default config template or save sor.yaml and generate CLAUDE.md, experiment-loop skill, and results.tsv artifacts.

Instructions

Initialize SOR in a project directory.

Call with no config to get a template with defaults and descriptions. Call with a filled config dict to save sor.yaml and generate all artifacts (CLAUDE.md, experiment-loop skill, results.tsv).

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": {
      "project_dir": "<project_dir>"
    },
    "name": "sor_init"
  }
}

Input Schema

NameRequiredDescriptionDefault
configNo
project_dirYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the key side effects — writing sor.yaml and generating CLAUDE.md, the experiment-loop skill, and results.tsv — which is valuable, but it omits whether existing files are overwritten, whether the call is idempotent, and what permissions or preconditions are needed.

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 purpose, then the two call modes in order of increasing commitment. No filler or repetition.

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?

An output schema exists, so return values need not be described, and the description covers both parameters, both modes, and the created artifacts. The only meaningful gap for an initialization tool is unstated overwrite/idempotency behavior on a directory that already has sor.yaml.

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 0%, so the description has to define both parameters. It does explain the semantic distinction between a null/absent config (returns a template) and a populated config dict (saves and generates artifacts), which the bare anyOf schema does not convey; project_dir is only implied by the name and the phrase 'in a project directory'.

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 SOR in a project directory') and names the concrete artifacts produced, so the agent knows this is a project-bootstrap operation rather than a read or run tool. It does not explicitly contrast itself with siblings like sor_status or sor_add_layer, but the init framing is distinct enough.

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?

The two invocation modes are spelled out precisely: call without config to receive a template with defaults and descriptions, call with a filled config to persist it. That is clear when-to-use guidance for the main fork in behavior, though it does not state whether calling it on an already-initialized project is safe or how it relates to the other sor_* tools.

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