Skip to main content
Glama
musaddiq-dev

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

by musaddiq-dev

Get Caller Identity

get_caller_identity
Read-only

Check the AWS identity of the current caller. Returns Account, ARN, and UserId for the credentials used.

Instructions

Get the AWS identity of the current caller.

Returns information about the IAM user or role whose credentials are used to call the operation.

Returns: Dictionary with success status and caller identity (Account, ARN, UserId)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already provide readOnlyHint=true, indicating a safe read operation. The description adds value by specifying the return format (dictionary with success and identity fields). No contradictions.

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, with three sentences. The first sentence states the main purpose, and the following sentences add return details. No unnecessary content.

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 zero parameters, the presence of an output schema, and annotations providing readOnlyHint, the description is complete. It explains what the tool returns without needing to cover output schema details.

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?

No parameters are defined, so schema coverage is 100%. The description does not need to add parameter semantics; baseline 4 is appropriate for zero parameters.

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 it 'Get the AWS identity of the current caller' and mentions specific returned fields (Account, ARN, UserId). This is a specific verb+resource combination that distinguishes it from siblings like call_aws and suggest_aws_commands.

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 purpose implies when to use it (retrieve caller identity), but there is no explicit guidance on when not to use it or how it compares to siblings. The description lacks alternative recommendations or exclusions.

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