Skip to main content
Glama

upgrade_architecture_blueprint

Submits a draft architecture plan for expert review and returns structured directives, edge cases, constraints, and numbered next steps for immediate implementation.

Instructions

Sends a draft architecture plan to the DeepPlan backend for expert-level review. Returns structured architectural directives, edge cases, constraints, and numbered next steps that you (the IDE agent) can execute immediately.

Use this when:

  • A plan feels too shallow or generic

  • Starting a complex feature or new project

  • You need architecture-level guidance before writing code

The response includes a "Next Steps for Agent" section with numbered instructions you can follow directly.

Internally, this tool runs a "Council of Architects" — 4 expert AI personas (Security, Performance, UX/DX, DevOps) analyze the plan in parallel, then a Lead Architect synthesizes their reports into a unified blueprint.

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": {
      "draft_plan": "<draft_plan>"
    },
    "name": "upgrade_architecture_blueprint"
  }
}

Input Schema

NameRequiredDescriptionDefault
draft_planYesThe shallow plan or blueprint text to upgrade. This is the main input.
tech_stackNoTechnology stack context, e.g. 'SvelteKit, Cloudflare Workers, D1, TailwindCSS'
model_choiceNoOpenRouter model ID to use for the Lead Architect (summary). e.g. 'google/gemini-2.5-pro'. Defaults to DeepPlan Architect.
context_constraintsNoRuntime or infrastructure constraints, e.g. 'Must run on Cloudflare Workers Edge Runtime', 'No external libraries except listed ones'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the internal pipeline — four parallel personas plus a Lead Architect synthesis — and the shape of the return value. It omits operationally important traits for an LLM-backed call: expected latency, cost, non-determinism between runs, and error behaviour when model_choice is invalid.

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

Conciseness3/5

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

Front-loaded with the core action and return value, which is good, but the 'Next Steps for Agent' capability is stated twice in near-identical language and the Council of Architects paragraph is lengthy for what it conveys. Trimming the duplicate would sharpen it without losing information.

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?

No output schema exists, so the description must describe returns — and it does, naming the categories of output and the numbered 'Next Steps for Agent' section, plus the default for the Lead Architect model. Missing latency/cost expectations keep it short of fully complete for a remote multi-model orchestration call.

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 coverage is 100%, so all four parameters are already documented with examples and defaults. The description only indirectly illuminates model_choice by explaining that the Lead Architect synthesizes reports; it adds no format, length, or constraint guidance for draft_plan, tech_stack, or context_constraints beyond the schema.

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?

States a specific verb and resource — sends a draft architecture plan to the DeepPlan backend for expert review and returns directives, edge cases, constraints and next steps. The only sibling, auto_select_personas, is never named or contrasted, so the agent must infer the relationship between drafting a plan and selecting personas.

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 'Use this when' block gives three concrete triggering conditions (shallow/generic plan, complex feature start, pre-code architecture guidance), which is clear context for selection. It stops short of exclusions or pointing to any alternative tool for simpler cases.

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