Skip to main content
Glama

infracost_breakdown

Analyze Terraform infrastructure configurations to generate detailed cost estimates for cloud resources, helping teams understand and optimize cloud spending.

Instructions

Generate a cost breakdown for Terraform infrastructure. Analyzes Terraform configuration and provides detailed cost estimates for resources. Requires infracost CLI to be installed.

Input Schema

NameRequiredDescriptionDefault
pathYesPath to Terraform directory or plan JSON file
formatNoOutput format (default: table)
outFileNoSave output to a file
terraformVarFileNoTerraform variable file paths
terraformVarNoTerraform variables as key-value pairs

Input Schema (JSON Schema)

{ "properties": { "format": { "description": "Output format (default: table)", "enum": [ "json", "table", "html" ], "type": "string" }, "outFile": { "description": "Save output to a file", "type": "string" }, "path": { "description": "Path to Terraform directory or plan JSON file", "type": "string" }, "terraformVar": { "description": "Terraform variables as key-value pairs", "type": "object" }, "terraformVarFile": { "description": "Terraform variable file paths", "items": { "type": "string" }, "type": "array" } }, "required": [ "path" ], "type": "object" }

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/phildougherty/infracost_mcp'

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