Skip to main content
Glama

mindbase_apply_template

Apply a schema template to an existing project by appending template prose to README.md and seeding template-specific sections in context.md. Re-running with the same template is idempotent, preventing duplicate content.

Instructions

Overlay a schema template onto an existing project. Appends template prose to README.md and seeds template-specific sections in context.md. Idempotent — re-running with same template is a no-op marker.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdNoProject id; defaults to the current project (config.json)
templateIdYes
Install Server

TDQS

A3.8/5.0
Behavior4/5

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

Since no annotations are provided, the description carries the full burden, and it does well by disclosing that the tool appends to README.md, seeds context.md sections, and is idempotent. This gives an agent critical side-effect and repeat-safety information, although the exact no-op marker mechanism is not specified.

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 two sentences and each sentence carries substantive value: purpose, file-side effects, and idempotence. It is front-loaded with the core action and contains no filler.

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 two-parameter mutation tool with no output schema and no annotations, the description covers the essential details: what it acts on, the files it changes, and repeated-run behavior. It could be stronger with explicit return-value or failure-mode information, but those are not critical for invoking the tool correctly.

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?

The schema documents projectId but leaves templateId completely undocumented. The description adds meaning by referring to 'template prose' and the 'same template', which implicitly explains templateId's role, but it does not fully compensate for the missing parameter-level schema documentation.

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?

The description clearly states a specific action and resource: 'Overlay a schema template onto an existing project.' It further clarifies the mechanics by naming the files affected (README.md and context.md), making the tool easy to distinguish from the other mindbase_* operations, though it does not explicitly name a sibling.

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 description implies when to use it: when a schema template needs to be applied to an existing project. The idempotence note also gives re-run guidance. It does not, however, state when to prefer this over alternatives like mindbase_atomic_write_context or explicitly list exclusions.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/frankchu91/mindbase-llm-wiki'

If you have feedback or need assistance with the MCP directory API, please join our Discord server