Skip to main content
Glama

Memoreal — Deterministic AI Memory & Code Intelligence MCP

Bootstrap Project Memory

bootstrap_project

Bootstrap a workspace namespace with durable rules, Markdown guidelines (CLAUDE.md, AGENTS.md, .cursorrules, README.md), and code symbol definitions in a single call. Accepts optional raw markdown content or an array of files ({ path, content }). Automatically parses rule headings and extracts function/class symbols and call relations. Use when onboarding a new project or empty workspace namespace to seed rules and symbols before running queries.

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": {
      "namespace": "<namespace>"
    },
    "name": "bootstrap_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNoArray of project files ({ path, content }) to index.
contentNoOptional raw markdown or text content (e.g. concatenated CLAUDE.md / AGENTS.md).
namespaceYesLogical workspace namespace to seed (never prefix with "org:").

Output Schema

NameRequiredDescriptionDefault
idsYesUUIDs of seeded memories.
importedYesTotal memory records created.
ide_rulesNoGenerated rule templates for AGENTS.md and .cursor/rules.
namespaceYesClient workspace namespace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so the safety profile is carried structurally; the description usefully adds that rules are durable and that headings and function/class symbols with call relations are auto-extracted as a side effect. It does not say what happens when the namespace is non-empty or when the same bootstrap is run twice, which matters given idempotentHint=false and inferred symbol extraction that could duplicate or conflict.

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

Conciseness4/5

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

Three sentences, front-loaded with the action and payload, then the processing behavior, then the usage cue. The middle sentence partially duplicates the parameter schema, which is the only redundancy; there is no padding beyond that.

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 explained, and the description covers inputs, processing, and the intended situation. For a mutating, non-idempotent seeding tool it could still say whether existing rules/symbols are merged or replaced and whether namespace creation is implicit, but the essential picture is complete.

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%, so the schema already documents namespace, content, and the files array with per-field descriptions. The description largely restates that shape ('{ path, content }', 'raw markdown content') and adds only the processing hint that headings are parsed for rules and symbols, so it meets but does not exceed the baseline.

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?

States a specific verb ('Bootstrap') and resource ('workspace namespace') and enumerates exactly what gets seeded: durable rules, Markdown guideline files, and code symbol definitions in one call. An agent can distinguish it from encode_memory or search_code because the description frames it as a one-shot seeding operation rather than an incremental write or query.

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?

'Use when onboarding a new project or empty workspace namespace to seed rules and symbols before running queries' gives a clear triggering condition and even an ordering constraint relative to queries. It stops short of naming an alternative (e.g. encode_memory for incremental additions) or stating when not to use it, such as on a namespace that already holds data.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.