Skip to main content
Glama

Bootstrap Project

bootstrap_project

Populate the hot cache for a new codebase by scanning README.md, CLAUDE.md, and similar docs, parsing them into memories, and optionally promoting them for quick recall.

Instructions

Bootstrap hot cache from project documentation files.

Scans for common project documentation files (README.md, CLAUDE.md, etc.), parses them into memories, and optionally promotes to hot cache.

This is ideal for quickly populating the hot cache when starting work on a new codebase.

Edge cases handled gracefully:

  • Empty repo: Returns success with files_found=0 and helpful message

  • No markdown files: Returns success with message

  • File read errors: Logged in errors list, continues with other files

  • Empty files: Skipped silently

  • Binary files: Skipped with warning

  • All content already exists: Returns memories_skipped count

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

Input Schema

NameRequiredDescriptionDefault
tagsNoTags to apply to all memories
root_pathNoProject root directory (default: current directory).
memory_typeNoMemory type for all contentproject
file_patternsNoSpecific files to seed. If not provided, auto-detects: CLAUDE.md, README.md, CONTRIBUTING.md, ARCHITECTURE.md
promote_to_hotNoPromote all bootstrapped memories to hot cache

Output Schema

NameRequiredDescriptionDefault
errorsNo
messageNo
successYes
files_foundNo
files_processedNo
memories_createdNo
memories_skippedNo
hot_cache_promotedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4.1/5.0
Behavior4/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 and does so well: it discloses graceful degradation on empty repos, unreadable files and binary files, and that partial failures are recorded in an errors list rather than aborting. It also implies deduplication via the memories_skipped count, though it never explicitly states overwrite/merge semantics for existing memories.

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?

Purpose and usage are front-loaded in the first three sentences, with edge cases demoted to a bullet list where they belong. The edge-case list is long relative to the core message but each item conveys non-obvious failure behavior, so little is wasted.

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 with five optional parameters at 100% coverage the input side is covered by the schema. What remains unstated is the deduplication/overwrite model for existing memories and whether repeated bootstraps are idempotent — meaningful gaps for a tool that writes in bulk.

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 baseline is 3. The description's mention of auto-detected files (README.md, CLAUDE.md, etc.) mirrors what the file_patterns and promote_to_hot parameters already document, adding no new semantics such as what tags are used for or how memory_type affects downstream recall.

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?

Opens with a specific verb and resource: "Bootstrap hot cache from project documentation files," then clarifies the mechanism (scan → parse into memories → optionally promote). An agent can distinguish this bulk-seeding operation from single-item siblings like remember or recall without opening the schema.

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?

Gives a clear when-to-use condition: "ideal for quickly populating the hot cache when starting work on a new codebase." It does not state when not to use it or name an alternative (e.g., manually calling remember for individual facts), so it stops short of full routing guidance.

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