Skip to main content
Glama

Generate architecture & threat model from prompt

generate_architecture

Generate a multi-tier cloud/AI architecture and auto-synthesize STRIDE/LINDDUN threat models, security requirements, and regulatory control mappings directly from a natural-language description.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoOptional diagram name
styleNoArchitecture layout style
descriptionYesNatural-language description of the system or architecture to design
cloud_providerNoTarget cloud platform
save_as_diagramNoPersist as an active threat-modeling diagram (default: true)
compliance_standardsNoCompliance standards to address (e.g. ['EU_AI_ACT', 'DORA', 'NIST_AI_RMF', 'SOC2'])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, openWorldHint=true, so safety profile is largely covered. The description adds real value by enumerating the artifacts auto-synthesized (STRIDE/LINDDUN, requirements, control mappings), but says nothing about side effects such as whether the architecture is persisted by default (only the schema's save_as_diagram notes this) or whether generation is deterministic/expensive.

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?

A single dense sentence that front-loads the primary output (architecture) before the secondary synthesized artifacts. No filler, though it is long enough that splitting the 'what you get' from 'what you give' would read faster.

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 6-parameter generation tool with no output schema, the description adequately covers what is produced and from what input. It omits return shape and persistence behavior, which is acceptable given the rich schema, but those gaps keep it short of full completeness.

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% and every parameter has its own description, including enum values and an example for compliance_standards, so the schema carries the load. The description adds no format or syntax detail beyond the schema, which is the baseline 3 case.

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 (generate) and concrete resources (multi-tier cloud/AI architecture plus STRIDE/LINDDUN threat models, security requirements, compliance mappings) from a natural-language prompt. It is clear on its own, but it never distinguishes itself from the sibling generate_threat_model, so an agent cannot tell which one to pick when a threat model is the goal.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance. The description implies this is the broad 'design from a prompt' entry point, but with siblings generate_threat_model and compliance_scan doing overlapping work, the agent is left to infer the routing condition itself.

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.

Resources