Skip to main content
Glama
@incidentpilot/mcp-aws

@incidentpilot/mcp-aws

customer_switch

Switch AWS credentials to another customer by assuming an IAM role with an external ID, enabling scoped incident investigation and remediation under the selected permission level.

Instructions

Switch to a different customer's credentials

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": {
      "customerId": "<customerId>",
      "roleArn": "<roleArn>",
      "externalId": "<externalId>"
    },
    "name": "customer_switch"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNoAWS regionus-east-1
roleArnYesThe IAM role ARN to assume
customerIdYesThe new customer ID
externalIdYesThe external ID for the role
permissionLevelNoPermission levelReadOnly

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and discloses very little. It never states that this is a stateful, session-wide credential change (evidenced by roleArn/externalId implying an STS AssumeRole), whether prior credentials are discarded, whether subsequent tool calls inherit the new scope, or whether re-authentication is possible.

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

Conciseness3/5

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

A single short sentence with no wasted words and the key concept front-loaded, but it is under-specified rather than genuinely concise. Being this brief leaves the agent without the operational context a state-changing tool requires.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter, three-required tool that mutates session-wide credential state, the description leaves out consequences, scope of effect, and failure behavior. Absence of an output schema means the description should at least say what a successful switch produces, and it does not.

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 coverage is 100%, so every parameter already has a description, including the permissionLevel enum and its ReadOnly default. The description adds no meaning beyond the schema, which is acceptable at this coverage level but earns only the baseline.

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?

The description names a specific verb ('Switch to') and a specific resource ('a different customer's credentials'), which is enough for an agent to distinguish this from siblings such as customer_info or customer_clear. It stops short of explicit sibling differentiation, but the core action is unambiguous.

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 guidance on when to call this versus customer_initialize, customer_clear, or customer_info, nor any prerequisite or ordering information despite those siblings existing. The agent must infer that this must be called before other customer-scoped operations.

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