Skip to main content
Glama
musaddiq-dev

io.github.musaddiq-dev/aws-cli-mcp-server

by musaddiq-dev

Suggest AWS CLI Commands

suggest_aws_commands
Read-only

Generate AWS CLI command suggestions from natural language descriptions. Describe your task and receive a list of commands to execute.

Instructions

Suggest AWS CLI commands based on a natural language query.

Use this tool when you're unsure about the exact AWS CLI command syntax or want to explore available commands for a specific task.

Best practices for query formulation:

  1. Include the AWS service name (EC2, S3, Lambda, etc.)

  2. Describe the action you want to perform

  3. Include any relevant context or constraints

Query examples:

  • "List all running EC2 instances in us-east-1"

  • "Get the size of my S3 bucket named 'my-backup-bucket'"

  • "List all IAM users with AdministratorAccess policy"

  • "Show me all Lambda functions in my account"

  • "Create a new security group for SSH access"

Returns: Dictionary with success status, query, and list of suggested commands

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesNatural language description of what you want to accomplish

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Annotations declare readOnlyHint=true, and the description confirms a read-only operation by describing the return as a dictionary of suggested commands. It adds transparency about the output structure, which annotations do not cover.

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 concise yet comprehensive: purpose, usage guidance, examples, and return description. Every sentence adds value, and the structure is front-loaded with the core function.

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

Completeness5/5

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

Given the tool's simplicity (single parameter, no nested objects, output schema mentioned), the description fully covers the purpose, usage, and behavior. Annotations and context signals do not leave gaps.

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

Parameters4/5

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

The input schema defines a single 'query' string parameter with examples. The description enriches this by advising on query formulation (include service name, action, context), which adds semantic guidance beyond the schema. Schema coverage is 100%, so the description lifts the 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 function: 'Suggest AWS CLI commands based on a natural language query.' It specifies the verb (suggest) and resource (AWS CLI commands), distinguishing it from sibling tools like call_aws (execution) and get_aws_regions (retrieval).

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 explicitly advises when to use this tool: when unsure about command syntax or exploring commands. It provides best practices for query formulation and includes examples. While it doesn't directly contrast with siblings, the implicit guidance is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/musaddiq-dev/aws-cli-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server