Skip to main content
Glama

generate_transform_iam_policy

Generate IAM role + scoped policy CloudFormation for AWS Transform — least-privilege S3 r/w + KMS decrypt for source artifacts

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "roleName": "<roleName>",
      "sourceBucket": "<sourceBucket>",
      "outputBucket": "<outputBucket>"
    },
    "name": "generate_transform_iam_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
kmsKeyIdNoOptional KMS key ID for SSE-KMS-encrypted source/output buckets
roleNameYesIAM role name
outputBucketYesS3 bucket where Transform writes the modernized output
sourceBucketYesS3 bucket holding the legacy artifacts to be modernized
transformKindNodotnet | mainframe | vmware (default dotnet)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the policy scope (least-privilege S3 read/write plus KMS decrypt on source artifacts) and the output format (CloudFormation), but never states whether it writes a file or returns template text, whether it deploys anything, or what permissions/credentials the caller needs.

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 compact sentence with the core action and scope front-loaded and no filler. The em-dash clause is dense but earns its place by stating the policy scope.

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 five-parameter generator with no annotations and no output schema, the description conveys the domain, the policy scope, and the artifact type. The main remaining gap is the return contract (template text vs. file) and any deployment side effects.

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 each of the five parameters is already documented in the schema, and the description adds only a light framing ('source artifacts', 'KMS decrypt'). Baseline 3 applies since the schema does the heavy lifting.

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?

Names a specific verb (Generate) and a concrete resource (IAM role + scoped policy CloudFormation) and adds the domain qualifier 'for AWS Transform'. That distinguishes it from a generic generate_iam_policy, though it never explicitly names a sibling.

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

Usage Guidelines3/5

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

Usage is only implied by the phrase 'for AWS Transform' — an agent can infer this is the Transform-specific IAM path rather than the generic one. There is no explicit when-to-use, no prerequisites, and no exclusion such as 'use generate_iam_policy for non-Transform workloads'.

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.