Skip to main content
Glama

verify

Feed a generated policy back to AWS's own policy evaluation engine (SimulateCustomPolicy) and confirm it grants exactly the intended operations and nothing extra. Returns verified (True|False|unknown), grants_all, grants_extra. Requires AWS credentials; without them verified=unknown with the reason. Wildcarded operations are expanded to concrete actions first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
policyNoOptional. A complete IAM policy JSON document to verify.
workflowNoA named workflow from list_workflows to generate and then verify
operationsNoIntended IAM actions, comma-separated. Required if policy is provided.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden. It discloses the underlying AWS engine (SimulateCustomPolicy), the exact output structure, the behavior when credentials are missing (verified=unknown with reason), and the preprocessing of wildcarded operations. This is substantial behavioral transparency beyond minimal expectations.

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 three sentences long, front-loaded with the core purpose, followed by output format and prerequisites. Every sentence contributes meaningful information without redundancy or fluff.

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?

Given the lack of an output schema, the description adequately explains the return values (verified, grants_all, grants_extra) and the credential prerequisite, including the fallback behavior. It does not precisely define what grants_all and grants_extra signify, but the context is sufficient for an agent to understand the tool's basic usage and interpretation.

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 the description is not required to repeat parameter definitions. It adds some context by explaining that 'operations' are intended IAM actions and that wildcards are expanded, but it does not elaborate on the 'workflow' parameter beyond what the schema already states, keeping the added value at baseline.

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: verifying a generated policy against intended operations using AWS's SimulateCustomPolicy engine. It specifies a concrete action and resource, and distinguishes itself from siblings like 'policy' which generates policies.

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?

The description implies usage after policy generation ('Feed a generated policy back') and identifies a key prerequisite (AWS credentials). However, it does not explicitly mention when to avoid using this tool or name alternative verification approaches, so guidance is clear but not exhaustive.

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.