Skip to main content
Glama

Map and preview

init

Saves your development memory set from context. Then maps, audits, and previews it to prepare memory files for split loading.

Instructions

First call. For the dev's memory set loaded from your context: your auto memory folder and each "Contents of " file. Saves them, then maps, audits, previews.

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

Input Schema

NameRequiredDescriptionDefault
diffNodefault summary; full adds the unified diff
forceNopreview the re-apply plan even with no drift
budgetNotoken budget (default 60% of the file, at least 2000; a folder computes its own)
formatNodefault text
loadedNo
targetNofolder in the root; "." = this project. Omitted: the memory folder in loaded, else what init recorded

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, openWorldHint=false; the description's "Saves them" is consistent with a non-destructive write. It adds that the call also maps, audits and previews, but says nothing about what is written, where state lives, idempotency, or how the preview relates to the save.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is short and front-loads the critical ordering cue, but it is terse to the point of obscurity: "maps, audits, previews" is a list of unqualified verbs, and the clause about the memory set is awkwardly spliced in.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With six parameters, a nested object, a mutation annotation, and no output schema, the description should explain what the save produces and how preview output is surfaced. Instead it leaves the output contract, the text/json distinction, and the save target unexplained, which is inadequate for a state-establishing first call.

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 83%, so the schema already carries most parameter meaning, making 3 the baseline. The description does add real context for the nested `loaded` object by naming the auto memory folder and "Contents of <path>" files, but `diff`, `force`, `budget`, `format` and `target` get no elaboration.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states an ordering cue ("First call") and a rough pipeline ("Saves them, then maps, audits, previews"), but the verbs have no objects and it is unclear what is mapped, what is audited, or what is previewed. An agent can tell it is an initialization/save step, but not precisely what resource it operates on.

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?

"First call" gives genuine sequencing guidance that implies this precedes apply/doctor/undo, and the phrase "For the dev's memory set loaded from your context" implies when the tool applies. However, it never names an alternative or states conditions under which to skip or re-run it.

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

Deploy Server

Other Tools