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.

Input Schema

TableJSON 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. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world. The description adds genuinely new behavior: output is returned as text, and the tool fails loudly (error rather than a guess) on unsupported frameworks. That error-instead-of-hallucination contract is the kind of trait annotations cannot express.

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, no filler: the purpose and the artifact list come first, and the error condition follows. It is dense but front-loaded and every clause carries information about behavior or output.

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 read-only planning tool with no output schema, the description still conveys the shape of the result (a plan plus architecture documents as text) and the failure mode. Nothing critical is missing for an agent to decide whether and how to call it.

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 and the enum values are self-describing; baseline 3 applies. The description's note that platform is inferred from the prompt otherwise largely repeats the schema, though the mention of unsupported frameworks adds boundary meaning to the enum.

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+resource ('Turn an app idea into an Offline Protocol plan') and enumerates the artifacts produced: workflow, platform, packages, starter template, architecture documents. That clearly separates it from the singular sibling tools like get_package or list_workflows, which fetch one artifact each. It stops short of naming an alternative tool it could be confused with (e.g. preview_scaffold or resolve_packages), so it isn't a full 5.

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 concrete invocation guidance: it errors instead of guessing when the idea needs an unsupported framework (Flutter, native Swift) unless a platform is supplied. This tells the agent exactly when the call will fail and what input avoids the failure. There is no explicit routing to or away from sibling tools, which keeps it out of 5 territory.

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.