Skip to main content
Glama

aws_switch_profile

Selects a named AWS profile for subsequent MCP tool calls without modifying default credentials.

Instructions

Select a named profile for this MCP server without modifying default credentials.

Args: profile_name: Name of the AWS profile to use in subsequent tool calls.

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": {
      "profile_name": "<profile_name>"
    },
    "name": "aws_switch_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
profile_nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral load; it usefully discloses that the change is server-scoped and leaves default credentials untouched. It does not state whether an invalid profile name errors or silently falls back, whether the selection persists across sessions, or whether the profile must already exist.

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?

Front-loaded one-sentence statement of the effect, followed by a compact Args block naming the single parameter. No redundant or filler wording; the 'Args:' formatting is slightly boilerplate but harmless.

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

Completeness3/5

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

The output schema covers return values, and one required parameter keeps the surface small, so the description is nearly sufficient. Gaps remain around invalid-name behavior and session persistence, which matter for a stateful switch used by every subsequent call.

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 0% (the parameter has only a title), so the description is needed and does add real meaning: the value is an AWS profile name that governs subsequent tool calls, not a one-off argument. It still omits format expectations and the related way to discover valid names.

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?

States a specific action and target: select a named profile for this MCP server, scoped to subsequent calls. The qualifier 'without modifying default credentials' distinguishes it from an ambient-credential change, though it does not explicitly contrast with aws_list_profiles or aws_ensure_credentials.

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?

The phrase 'to use in subsequent tool calls' implies when this tool matters (before other AWS operations), but there is no explicit guidance on prerequisites such as where valid profile names come from or what to do when a name is unknown. No alternatives are named.

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