Skip to main content
Glama

AWS Cost Explorer MCP Server

MIT License
122
  • Linux
  • Apple

get_detailed_breakdown_by_day

Retrieve a detailed daily cost breakdown by region, service, and instance type from AWS Cost Explorer. Specify the number of days, region, and account ID to analyze spending trends and identify cost drivers.

Instructions

Retrieve daily spend breakdown by region, service, and instance type. Args: params: Parameters specifying the number of days to look back Returns: Dict[str, Any]: A tuple containing: - A nested dictionary with cost data organized by date, region, and service - A string containing the formatted output report or (None, error_message) if an error occurs.

Input Schema

NameRequiredDescriptionDefault
paramsYes

Input Schema (JSON Schema)

{ "$defs": { "EC2Params": { "description": "Parameters for retrieving EC2 Cost Explorer information.", "properties": { "aws_account_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "AWS account id (if different from the current AWS account) of the account for which to get the cost data", "title": "Aws Account Id" }, "days": { "default": 1, "description": "Number of days to look back for Bedrock logs", "maximum": 90, "minimum": 1, "title": "Days", "type": "integer" }, "region": { "default": "us-east-1", "description": "AWS region to retrieve logs from", "title": "Region", "type": "string" } }, "title": "EC2Params", "type": "object" } }, "properties": { "params": { "$ref": "#/$defs/EC2Params" } }, "required": [ "params" ], "title": "get_detailed_breakdown_by_dayArguments", "type": "object" }

Other Tools from AWS Cost Explorer MCP Server

Related Tools

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/aarora79/aws-cost-explorer-mcp-server'

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