Skip to main content
Glama

lint_architecture

Analyze cloud architecture specifications to identify anti-patterns, security gaps, and best-practice violations in infrastructure design.

Instructions

Lint an architecture for anti-patterns and best-practice violations.

Returns a list of warnings with rule name, severity (error / warning), component IDs involved, and a human-readable message.

Errors (production-blocking): unencrypted data stores, single-AZ databases, missing load balancer on public compute, public databases, single point of failure. Warnings (review-worthy): oversized instances (16xlarge+), missing WAF, missing monitoring, missing backups, missing auth.

When to use vs security_scan: lint is about architectural hygiene (is this a sane shape?). security_scan is about threat exposure (can an attacker reach X?). Use both for comprehensive review.

Behavior: Pure computation — no LLM, no network. Does not touch cloud.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
spec_jsonYesArchSpec to lint. Runs 10 anti-pattern checks covering encryption, redundancy, load balancing, auth presence, and resource sizing.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries full burden and does an excellent job disclosing behavioral traits. It explains the tool is 'Pure computation — no LLM, no network. Does not touch cloud.' and details what types of issues it detects (errors vs warnings with specific examples). However, it doesn't mention performance characteristics like execution time or resource requirements.

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

Conciseness5/5

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

The description is efficiently structured with clear sections: purpose statement, output format, error/warning categorization, usage guidelines, and behavioral notes. Every sentence adds value with zero wasted text, and key information is front-loaded appropriately.

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?

Given the tool's complexity and the presence of an output schema, the description provides excellent context. It explains what the tool does, what it returns, how to interpret results (errors vs warnings with examples), when to use it versus alternatives, and its behavioral characteristics. With output schema handling return format details, the description focuses on the right contextual information.

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%, providing a solid baseline. The description doesn't add significant parameter-specific information beyond what's in the schema's description ('Runs 10 anti-pattern checks covering encryption, redundancy, load balancing, auth presence, and resource sizing.'), which the schema already covers adequately. The description focuses more on output behavior than input details.

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 description clearly states the tool's purpose with specific verbs ('lint an architecture for anti-patterns and best-practice violations') and distinguishes it from sibling tools by explicitly contrasting with 'security_scan'. It identifies the resource ('architecture') and the specific type of analysis performed.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use this tool versus alternatives: 'When to use vs `security_scan`: lint is about **architectural hygiene** (is this a sane shape?). security_scan is about **threat exposure** (can an attacker reach X?). Use both for comprehensive review.' This directly addresses sibling tool differentiation with clear context for each.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xmpuspus/cloudwright'

If you have feedback or need assistance with the MCP directory API, please join our Discord server