Skip to main content
Glama
prashantgupta123

AWS FinOps MCP Server

get_cost_by_region

Analyze AWS spending patterns by region to identify cost optimization opportunities and allocate budgets effectively.

Instructions

Get cost breakdown by AWS region for the specified period.

Args:
    start_date: Start date in YYYY-MM-DD format (default: first day of last month)
    end_date: End date in YYYY-MM-DD format (default: first day of current month)
    profile_name: AWS profile name (optional)
    role_arn: IAM role ARN to assume (optional)
    access_key: AWS access key ID (optional)
    secret_access_key: AWS secret access key (optional)
    session_token: AWS session token for temporary credentials (optional)

Returns:
    Dictionary with cost breakdown by region

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
start_dateNo
end_dateNo
profile_nameNo
role_arnNo
access_keyNo
secret_access_keyNo
session_tokenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions AWS authentication parameters (profile_name, role_arn, etc.) which hints at credential requirements, but doesn't specify permissions needed, rate limits, error conditions, or whether this is a read-only operation. The description doesn't contradict annotations since none exist, but provides only basic operational context.

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?

The description is well-structured with clear sections for purpose, arguments, and returns. Every sentence adds value, though the parameter explanations could be slightly more concise. The front-loaded purpose statement is effective, and there's no redundant information.

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

Completeness4/5

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

Given the tool's moderate complexity (7 parameters, cost analysis functionality) and the presence of an output schema (which handles return value documentation), the description is reasonably complete. It covers all parameters thoroughly and states the return type. However, it lacks information about typical use cases, error handling, and performance characteristics that would be helpful for an AI agent.

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

Parameters5/5

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

The description provides excellent parameter semantics despite 0% schema description coverage. It clearly explains each of the 7 parameters, including format requirements (YYYY-MM-DD), optional status, default values for date parameters, and the purpose of each authentication parameter. This fully compensates for the lack of schema descriptions.

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 purpose with a specific verb ('Get'), resource ('cost breakdown by AWS region'), and scope ('for the specified period'). It distinguishes itself from sibling tools like 'get_cost_by_service' and 'get_cost_by_region_and_service' by focusing exclusively on regional breakdown.

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?

The description provides no guidance on when to use this tool versus alternatives like 'get_cost_by_service' or 'get_daily_cost_trend'. It mentions the period parameter but doesn't explain typical use cases, prerequisites, or limitations compared to other cost analysis tools in the sibling list.

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/prashantgupta123/aws-pillar-mcp-server'

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