Skip to main content
Glama
chaandannn

nable (finops-mcp)

get_resource_cost_breakdown_aws

Retrieve per-resource AWS cost breakdown from Cost and Usage Report via Athena, including unblended costs, on-demand equivalents, and savings from Savings Plans or Reserved Instances.

Instructions

Return per-resource AWS cost detail from the Cost and Usage Report (CUR) via Athena. Includes unblended cost, on-demand equivalent, and effective savings from Savings Plans or Reserved Instances.

Requires CUR delivery to S3 and an Athena database. Team plan feature.

Args: start_date: ISO date (YYYY-MM-DD). Defaults to 30 days ago. end_date: ISO date. Defaults to today. service: AWS service code filter (e.g. "Amazon EC2"). None = all services. account_id: 12-digit AWS account ID filter. None = all accounts. min_cost_usd: Exclude resources below this cost threshold (default $1). limit: Maximum resources to return ordered by cost descending (default 100).

Examples: - "Show me per-resource EC2 costs from CUR" - "Which S3 buckets are costing the most this month?" - "Break down costs by resource for account 123456789012"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
serviceNo
end_dateNo
account_idNo
start_dateNo
min_cost_usdNo
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses that it queries CUR via Athena, lists all parameters with defaults, and indicates it's a read operation. Could mention data latency or Athena query costs, but overall transparent.

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?

Well-structured: one-sentence purpose, bullet list of parameters, then examples. Every sentence adds value, no redundancy.

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?

Description covers purpose, parameters, and behavioral expectations. Missing output schema is compensated by mentioning returned cost components. Could explicitly list output fields, but adequate for a data retrieval tool with clear inputs.

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?

Schema description coverage is 0%, but the description's Args section explains each parameter comprehensively: start_date, end_date, service, account_id, min_cost_usd, limit including defaults and ISO date format. This adds significant meaning beyond the schema.

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 returns per-resource AWS cost detail from CUR via Athena, listing specific cost components (unblended, on-demand equivalent, effective savings). This differentiates from sibling tools like get_costs_by_service, which likely provide aggregate service-level costs.

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?

Description mentions prerequisites (CUR delivery to S3, Athena database, Team plan feature) and provides example queries. However, it does not explicitly guide when to use this vs. alternatives like get_costs_by_service or get_cost_summary.

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/chaandannn/finopsmcp'

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