Skip to main content
Glama

apply_template

Seed an EMPTY project with a starter plan: a small, dependency-ordered set of tasks. Templates: 'saas-mvp' (SaaS MVP, 9 tasks: Landing, auth, billing, dashboard: the shape most products start as.); 'landing' (Landing page, 6 tasks: One long page: hero, features, pricing, waitlist.); 'mobile' (Mobile app, 7 tasks: Onboarding, feed, profile, offline sync.). Only works on a project with no tasks yet — refused otherwise, so it can never duplicate or overwrite a plan. Returns the template id, label, created node count and link count.

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": {
      "project_id": "<project_id>",
      "template_id": "<template_id>"
    },
    "name": "apply_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesThe project ID. Get this from list_projects or create_project.
template_idYesWhich starter plan to seed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare a non-read-only, non-idempotent, non-destructive, closed-world mutation, and the description adds genuinely new behavioral facts on top: the empty-project gate, the guarantee that it "can never duplicate or overwrite a plan," and the returned fields (template id, label, created node count, link count). This is exactly the extra context annotations cannot carry.

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?

The purpose and the critical empty-project constraint are front-loaded, and no sentence is filler. The nested parenthetical template descriptions make the middle section dense and slightly hard to scan, which keeps it from a 5.

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

Completeness5/5

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

With only two required parameters, no nested objects, and no output schema, the description covers everything an agent needs: what it does, the precondition that will cause failure, and the shape of the response. Nothing material is left unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and both parameters carry descriptions, so the baseline is already met. The description adds value beyond the bare enum by explaining what each template_id value actually seeds (9 tasks for saas-mvp, 6 for landing, 7 for mobile), which is meaning the schema does not convey.

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?

"Seed an EMPTY project with a starter plan: a small, dependency-ordered set of tasks" states a specific verb, resource, and output shape. It goes further by enumerating the three templates with task counts and contents, so an agent knows exactly what will be produced 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?

The precondition is explicit and testable: "Only works on a project with no tasks yet — refused otherwise." That is a clear when-to-use/when-not-to-use rule. It stops short of naming an alternative for the non-empty case (e.g., adding tasks individually via the sibling node tools), so it falls just 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.