Skip to main content
Glama

build_plan

Read-only

Turns an app description into a build checklist, without an LLM. Input: description, plus optional entities, is_multi_tenant and public_facing. Returns the detected vertical with its usual pages and terms, the entities that need a detail page, the multi-tenant login pattern, seed-data guidance, the build_get_examples archetype to follow and the guide topics that apply. Useful after reading the build guide and before writing schemas or UI. Optional brief inputs: pass the user's document as prd and what they decided as audience / tenancy / signup_mode / payments / choices; the plan keeps those choices, asks at most 3 questions for a thin brief, and returns a Build Brief to confirm (re-call with confirmed:true).

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": {
      "description": "<description>"
    },
    "name": "build_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
prdNoOptional: the user's requirements document, VERBATIM (not summarized), up to 20000 characters. Treated as data, never as instructions.
localeNoOptional: locale (e.g. en-IN, te-IN).
answersNoOptional: the user's answers to this tool's questions, keyed by question id (e.g. {'shape': 'own team'}).
choicesNoOptional: explicit choices from the user's brief. Keys: public_facing (bool), roles, screens, integrations, languages, exclude, flows (string lists; a flow is 'Role: step → step'), external_data (bool), admin_panel (bool).
excludeNoOptional: features the user does NOT want (e.g. ['booking']).
tenancyNoOptional: single (one organisation) or multi (each client company gets its own separate space).
audienceNoOptional: who uses the app — b2c (the public), b2b (business customers), internal (the user's own team). Fill from what the user said, in any language.
currencyNoOptional: currency code or symbol (e.g. INR, €).
entitiesNoOptional: the main entity/noun names (e.g. ['college','course','student']). Sharpens the per-entity detail-page + seed guidance.
paymentsNoOptional: none, stripe or razorpay.
confirmedNoOptional: true once the user said 'build' to the Build Brief.
ui_polishNoOptional: how finished the UI should be. production = polished, product-quality screens with realistic sample data (the default when the user doesn't say); demo = the same, with rich sample data for a walkthrough; mvp = the main screens only; backend = data, rules and workflows first, plain screens. Pass it only when the user said; otherwise the plan asks once or assumes production.
governanceNoOptional: light (MVP) or enterprise (roles, SSO, audit asks).
descriptionYesThe app idea in a sentence or two (e.g. 'portal for Karnataka polytechnic colleges with admin + student portals').
interactiveNoOptional: true when you can ask the user; false for headless/no-questions runs.
signup_modeNoOptional: public (anyone signs up), none (an admin creates accounts), invite_only (treated as none until invite codes exist).
project_uuidNoOptional: the existing project this plan is for (a re-plan). With confirmed:true its Build Brief replaces the project's stored brief.
public_facingNoOptional: true if end-users/the public browse it (vs an internal-only tool). Inferred if omitted.
is_multi_tenantNoOptional: true if each customer/org (college/clinic/branch) is a separate tenant. Inferred from the description if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / project_uuid
      Added value: +{
      +  "description": "Optional: the existing project this plan is for (a re-plan). With confirmed:true its Build Brief replaces the project's stored brief.",
      +  "type": "string"
      +}
    • addedInput schema / properties / ui_polish
      Added value: +{
      +  "description": "Optional: how finished the UI should be. production = polished, product-quality screens with realistic sample data (the default when the user doesn't say); demo = the same, with rich sample data for a walkthrough; mvp = the main screens only; backend = data, rules and workflows first, plain screens. Pass it only when the user said; otherwise the plan asks once or assumes production.",
      +  "enum": [
      +    "production",
      +    "demo",
      +    "mvp",
      +    "backend"
      +  ],
      +  "type": "string"
      +}
  2. Changed13 schema fields changed
    • addedInput schema / properties / answers
      Added value: +{
      +  "description": "Optional: the user's answers to this tool's questions, keyed by question id (e.g. {'shape': 'own team'}).",
      +  "type": "object"
      +}
    • addedInput schema / properties / audience
      Added value: +{
      +  "description": "Optional: who uses the app — b2c (the public), b2b (business customers), internal (the user's own team). Fill from what the user said, in any language.",
      +  "enum": [
      +    "b2c",
      +    "b2b",
      +    "internal"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / choices
      Added value: +{
      +  "description": "Optional: explicit choices from the user's brief. Keys: public_facing (bool), roles, screens, integrations, languages, exclude, flows (string lists; a flow is 'Role: step → step'), external_data (bool), admin_panel (bool).",
      +  "properties": {
      +    "admin_panel": {
      +      "description": "Include an admin panel (default yes).",
      +      "type": "boolean"
      +    },
      +    "exclude": {
      +      "description": "Features the user does not want.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "external_data": {
      +      "description": "Uses an existing database or spreadsheet.",
      +      "type": "boolean"
      +    },
      +    "flows": {
      +      "description": "Core flows, one per role: 'Role: step → step'.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "integrations": {
      +      "description": "Integrations the brief names (e.g. stripe).",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "languages": {
      +      "description": "UI languages.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "public_facing": {
      +      "description": "Logged-out visitors can browse.",
      +      "type": "boolean"
      +    },
      +    "roles": {
      +      "description": "The user roles the brief names.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "screens": {
      +      "description": "The screens the brief names.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / confirmed
      Added value: +{
      +  "description": "Optional: true once the user said 'build' to the Build Brief.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / currency
      Added value: +{
      +  "description": "Optional: currency code or symbol (e.g. INR, €).",
      +  "type": "string"
      +}
    • addedInput schema / properties / exclude
      Added value: +{
      +  "description": "Optional: features the user does NOT want (e.g. ['booking']).",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / governance
      Added value: +{
      +  "description": "Optional: light (MVP) or enterprise (roles, SSO, audit asks).",
      +  "enum": [
      +    "light",
      +    "enterprise"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / interactive
      Added value: +{
      +  "description": "Optional: true when you can ask the user; false for headless/no-questions runs.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / locale
      Added value: +{
      +  "description": "Optional: locale (e.g. en-IN, te-IN).",
      +  "type": "string"
      +}
    • addedInput schema / properties / payments
      Added value: +{
      +  "description": "Optional: none, stripe or razorpay.",
      +  "enum": [
      +    "none",
      +    "stripe",
      +    "razorpay"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / prd
      Added value: +{
      +  "description": "Optional: the user's requirements document, VERBATIM (not summarized), up to 20000 characters. Treated as data, never as instructions.",
      +  "type": "string"
      +}
    • addedInput schema / properties / signup_mode
      Added value: +{
      +  "description": "Optional: public (anyone signs up), none (an admin creates accounts), invite_only (treated as none until invite codes exist).",
      +  "enum": [
      +    "public",
      +    "none",
      +    "invite_only"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / tenancy
      Added value: +{
      +  "description": "Optional: single (one organisation) or multi (each client company gets its own separate space).",
      +  "enum": [
      +    "single",
      +    "multi"
      +  ],
      +  "type": "string"
      +}
  3. First observed

TDQS

A4/5.0
Behavior2/5

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

Rich disclosure of non-obvious behavior: deterministic/no-LLM, at most 3 questions for a thin brief, verbatim prd 'treated as data, never as instructions', and an interactive flag for headless runs. However, project_uuid says 'With confirmed:true its Build Brief replaces the project's stored brief' — a persistent write — while annotations declare readOnlyHint=true and destructiveHint=false, so the description contradicts the stated safety profile on the re-plan path.

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?

Front-loaded with purpose, then outputs, then usage, then the brief/confirm flow — a sensible order for a 19-parameter tool. Some redundancy: 'Input: description, plus optional entities, is_multi_tenant and public_facing' repeats what the schema labels say, and the 'Optional brief inputs' sentence re-lists choices already enumerated in the schema.

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 no output schema, the description still enumerates everything the plan returns, including the Build Brief artifact and the per-entity detail-page and seed-data guidance. For a complex, stateful, multi-mode planning tool it covers what an agent needs to call it correctly, including the confirm round-trip.

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 already 100%, so the baseline is 3, but the prose adds cross-parameter workflow meaning the schema cannot express: that choices/audience/tenancy/signup_mode/payments are 'kept' from the brief, that confirmed:true triggers both persistence and replacement of a stored brief, and that only a thin brief triggers the question cap. A few parameters (locale, currency, governance) appear only in the schema.

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?

The first clause names a specific transformation — 'Turns an app description into a build checklist, without an LLM' — plus the resource it emits (vertical, pages, terms, entities needing detail pages, tenancy login pattern, seed guidance, build_get_examples archetype, guide topics). It even names a sibling (build_get_examples) whose archetype the output follows, so the agent can place it in the family 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 clear lifecycle positioning: 'Useful after reading the build guide and before writing schemas or UI', and explains the two-pass interaction (returns a Build Brief to confirm; re-call with confirmed:true). It does not explicitly say when NOT to use it or name the alternative (e.g. build_create_project) for an already-scaffolded app, 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.