Skip to main content
Glama

aws_connection_diagnostics

Verify AWS identity, local dependencies, and SSM prerequisites before starting a session to diagnose connection issues without connecting.

Instructions

Check identity, local dependencies, and SSM prerequisites without starting a session.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "aws_connection_diagnostics"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNo
targetNo
local_portNo
profile_nameNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.5

TDQS

B3.2/5.0
Behavior3/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 does disclose the key trait that no session is started (i.e., a non-mutating diagnostic). It says nothing about required AWS credentials/permissions, what happens when checks fail, or how failures are surfaced, which matters for a multi-check diagnostic tool.

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 scope front-loaded and no filler. It is efficiently sized, though the terseness contributes to the gaps in parameter and prerequisite detail.

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?

An output schema exists, so return values need not be explained, and the description adequately frames the tool's scope. Still, four entirely undocumented parameters and no stated prerequisites or failure semantics leave real gaps for a diagnostic tool with no annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters (region, target, local_port, profile_name), and the description provides no parameter-level meaning at all. An agent cannot tell from either source what "target" expects (instance ID? host?) or how local_port interacts with the SSM check.

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 pairs a specific verb ("Check") with a concrete set of resources — identity, local dependencies, SSM prerequisites — so an agent knows exactly what the tool inspects. The trailing phrase "without starting a session" further separates it from siblings like aws_ensure_credentials and aws_get_caller_identity, though it never names them explicitly.

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?

"without starting a session" implies this is a pre-flight/dry-run check used before attempting an actual connection, which is useful implied guidance. However, it never states when to prefer this over aws_ensure_credentials or aws_get_caller_identity, nor any prerequisites for calling it, leaving alternatives to inference.

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