Skip to main content
Glama

validate_compliance

Validate cloud architectures against compliance frameworks like HIPAA, PCI-DSS, SOC 2, FedRAMP, and GDPR. Check encryption, logging, access control, and other requirements before implementation.

Instructions

Validate an architecture against compliance frameworks.

Returns one result object per framework with pass/fail status per check, evidence (which components triggered the rule), and remediation hints.

When to use: You have a proposed architecture and need to know whether it satisfies HIPAA / PCI-DSS / SOC 2 / FedRAMP / GDPR before proceeding. Use security_scan for anti-pattern detection (weak auth, public buckets, etc.) which is framework-agnostic.

Behavior: Pure computation — no LLM, no network. Evaluates the spec statically against 30+ rules. Does not access or modify any cloud resources.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
spec_jsonYesArchSpec to validate. Checks are run against the declared components, connections, and provider settings — no cloud API access required.
frameworksYesList of compliance framework slugs to validate against. Each framework runs 5-7 checks (encryption, logging, access control, etc.). Values: 'hipaa', 'pci-dss', 'soc2', 'fedramp', 'gdpr'.
well_architectedNoWhen True, additionally runs the AWS Well-Architected Framework pillar checks (multi-AZ, auto-scaling, backup, monitoring, SPOF detection, cost optimization). Independent of the `frameworks` list.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Since no annotations are provided, the description carries the full burden of behavioral disclosure. It effectively describes key behavioral traits: 'Pure computation — no LLM, no network. Evaluates the spec statically against 30+ rules. Does not access or modify any cloud resources.' This clearly communicates that it's a safe, read-only analysis tool with no external dependencies.

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 well-structured and front-loaded with the core purpose. Each sentence earns its place: first states what it does, second describes the return format, third provides usage guidelines with alternatives, and fourth explains behavioral characteristics. No wasted words or redundancy.

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 both detailed input schema (100% coverage) and output schema, the description provides excellent contextual completeness. It covers purpose, usage guidelines, behavioral characteristics, and distinguishes from alternatives. The output schema existence means the description doesn't need to explain return values in detail.

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?

With 100% schema description coverage, the schema already documents all three parameters thoroughly. The description doesn't add significant meaning beyond what's in the schema descriptions, though it does provide context about what gets validated ('declared components, connections, and provider settings') and mentions '30+ rules' which gives additional insight into the validation scope.

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: 'Validate an architecture against compliance frameworks.' It specifies the verb ('validate') and resource ('architecture against compliance frameworks'), and distinguishes it from sibling tools like 'security_scan' by noting that tool is for framework-agnostic anti-pattern detection.

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 explicitly states when to use this tool: 'When you have a proposed architecture and need to know whether it satisfies HIPAA / PCI-DSS / SOC 2 / FedRAMP / GDPR before proceeding.' It also provides a clear alternative: 'Use `security_scan` for anti-pattern detection (weak auth, public buckets, etc.) which is framework-agnostic.'

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