Skip to main content
Glama

setup_project

Set up Kontrol Freek for the current project: analyze project files to infer configuration, then get human confirmation before writing .kontrol-freek.json.

Instructions

Initialize Kontrol Freek for the current project.

Checks if .kontrol-freek.json exists in the project root. If not, analyzes project files to infer a configuration, then asks the human for confirmation before writing the file.

Always pass project_root as the current working directory. Call this at the start of every session in a new project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_rootNo.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden and does it well: it reveals the existence check, the inference step, the human confirmation requirement, and the file-writing side effect. It could add more detail about what happens when the config already exists or what occurs if confirmation is denied, but the key safety-relevant behavior is disclosed.

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?

The description is compact and well-structured: main purpose first, then the conditional workflow, then binding usage and parameter instructions. Every sentence contributes actionable information with no filler.

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?

For a tool with one optional parameter, no annotations, and an output schema available, the description covers the essential usage context: when to call it, what it checks, how it behaves interactively, and how to set its parameter. Nothing critical is missing for an agent to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the only parameter, project_root, has no description in the schema. The description compensates by instructing the agent to always pass the current working directory as project_root, which adds real semantic guidance beyond the bare parameter name and default.

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?

The description uses a specific verb ('Initialize') and resource ('Kontrol Freek for the current project'), and elaborates the flow: check for existing config, infer from project files, confirm with human, write file. This clearly distinguishes setup_project from its sibling tools, none of which perform project initialization.

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 description gives explicit timing guidance ('Call this at the start of every session in a new project') and parameter guidance ('Always pass project_root as the current working directory'). It implies the conditional behavior when a config already exists, but does not explicitly state 'do not call if already initialized' or name alternatives.

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