Skip to main content
Glama

kin_init

Idempotent

Initialize a folder as a Kin repository when it is not one, enabling version control for code and recorded relationships.

Instructions

Set a folder up as a Kin repository when it is not one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoDefault: the workspace folder.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.17

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=false, idempotentHint=true, and openWorldHint=false, so the safety profile is covered. The description adds the useful precondition that the folder must not already be a repo, complementing the idempotency hint, but says nothing about what gets written to disk or required permissions.

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?

A single front-loaded sentence with zero filler; the precondition follows immediately after the action.

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?

For a simple one-parameter setup tool with no output schema, the description plus annotations cover what an agent needs to call it correctly. Only the destination of the operation's side effects is left unstated, which is minor here.

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 optional 'path' parameter is documented with its default in the schema itself. The description adds no parameter detail, so 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 (set up) and resource (a folder as a Kin repository) with a clear precondition. It is distinguishable from siblings like kin_mutate or kin_session_start, though it doesn't explicitly name a sibling to contrast with.

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

Usage Guidelines3/5

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

The clause 'when it is not one' gives a usable trigger condition, which is more than nothing. However, it names no alternative tool for the case where the folder IS already a repository, leaving routing to inference.

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