Skip to main content
Glama

Offline Protocol (hosted)

Generate architecture

generate_architecture
Read-onlyIdempotent

Turn an app idea into an Offline Protocol plan: matching workflow, platform, packages, starter template and architecture documents, returned as text. Returns an error, not a guess, when the idea needs a framework the planner has no starter for (such as Flutter or native Swift) unless a platform is given.

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": {
      "prompt": "<prompt>"
    },
    "name": "generate_architecture"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYesWhat you want to build, e.g. 'Hand over equipment between field engineers and reconcile with our backend'
platformNoOptional platform override; inferred from the prompt otherwise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "react-native",
      -  "nextjs",
      -  "react-vite",
      -  "web",
      -  "rust"
      -]New value: +[
      +  "react-native",
      +  "nextjs",
      +  "react-vite",
      +  "web",
      +  "rust",
      +  "python",
      +  "java"
      +]
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's added value is the error-not-guess contract for unsupported frameworks and the fact that output is text. That is real behavioral disclosure an agent cannot get from the annotations or schema, though response size/shape is left unstated.

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?

Two sentences, output description first, failure semantics second, with no filler. The artifact list is densely packed but each item is informative; the parenthetical examples (Flutter, native Swift) are the only mild padding.

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 two-parameter read-only generation tool with no output schema, the description covers what is produced, in what form (text), and the one failure mode. Remaining gaps are minor: no hint about output length or whether the documents are separable.

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 both parameters are already documented, making 3 the baseline. The description does add one genuine semantic link the schema lacks: supplying 'platform' suppresses the unsupported-framework error, which tells an agent how to use the parameter as a fallback rather than just an override.

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 names a specific transformation (app idea -> Offline Protocol plan) and enumerates the concrete artifacts produced: workflow, platform, packages, starter template and architecture documents. That output list implicitly separates it from the lookup siblings (get_/list_/search_*), which return one item each, though no sibling is named explicitly.

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?

Usage is implied by the opening clause ('Turn an app idea into an Offline Protocol plan'), and the failure condition clarifies when the call will not succeed. However, it never states when to prefer this over preview_scaffold or the search_* tools, nor any prerequisite about an existing project or account.

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.