Skip to main content
Glama

Get Cloud Cost Savings (AWS / Azure / GCP)

get_savings
Read-only

Get CloudQuell cost-savings opportunities for the caller's organization in ONE call. Returns the headline rollup (banked / open / potential monthly savings), a by-action-type summary breakdown, effective-savings-rate metrics, and the list of individual recommendations. Each recommendation carries the action type (e.g. PURCHASE, Review/Delete, OPTIMIZE, Create Endpoint), affected service/product/account/region, current monthly cost, estimated monthly savings, effort, and confidence. Providers: AWS (CloudQuell rule engine + AWS Cost Optimization Hub), Azure (reservation and savings-plan purchase recommendations from Azure Cost Management) and GCP (Google Recommender recommendations for the billing export project only) — pass provider: "azure" or "gcp"; OMIT provider for the backend default (AWS, unless the request pins an integration). CloudQuell computes no Azure or GCP rightsizing of its own. Azure / GCP rows name their source; amounts are in the org's display currency, and a row converted from the provider's currency also carries providerStatedMonthlySavings + providerCurrency. Filter the recommendation list with minMonthlySavings (dollar floor), actionType, accountId (id or name), and product; results are sorted highest-savings-first and capped by limit (default 50). Use response_format="concise" (default) for trimmed rows, "detailed" for every field. Read-only — never modifies anything. Example: { "minMonthlySavings": 100, "actionType": "PURCHASE", "limit": 10, "response_format": "concise" } returns the top 10 commitment-purchase opportunities worth at least $100/mo, plus the savings totals.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_savings"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax recommendations to return, highest-savings first (default 50).
productNoFilter recommendations to one billing product, case-insensitive (e.g. "AmazonRDS", "AmazonEC2", "AmazonS3" on AWS; "VirtualMachines", "Compute_Savings_Plan" on Azure; "Compute Engine", "Cloud SQL" on GCP). Matches the `product` field; the human-readable `service` label is also matched as a fallback.
providerNoProvider scope for the recommendations: "aws", "azure" or "gcp". OMIT = the backend default (AWS, unless the request is pinned to an integration — then that integration's provider). Azure = reservation and savings-plan PURCHASE recommendations from Azure Cost Management; GCP = Google Recommender recommendations for the billing export project only. CloudQuell computes no Azure or GCP rightsizing itself, so an empty Azure / GCP list means the provider has no recommendation right now.
accountIdNoFilter recommendations to one account — matches either the account id or the account name (e.g. "prod", "datascience", or a 12-digit AWS account number; Azure recommendations carry "Shared (billing scope)" or the subscription name (its id when Azure returns no name); GCP recommendations carry the export project id).
actionTypeNoFilter recommendations to a single action type, case-insensitive (e.g. "PURCHASE", "Review/Delete", "OPTIMIZE", "Create Endpoint"). See the summary.byActionType breakdown for the available types.
response_formatNoconcise = headline summary + trimmed recommendation rows (default, lower token cost); detailed = the full parsed savings payload including every recommendation field.concise
minMonthlySavingsNoOnly return recommendations whose estimated monthly savings are at least this many dollars (e.g. 100 to skip noise). Applied client-side.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered (and the description's 'read-only — never modifies anything' is largely redundant). Beyond that it adds real behavioral context: results are sorted highest-savings-first and capped, Azure/GCP rows name their source, converted amounts carry providerStatedMonthlySavings/providerCurrency, and an empty Azure/GCP list means the provider has no recommendation right now. It does not describe latency or pagination beyond the limit cap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is front-loaded correctly with purpose and payload before provider caveats, but it is a long undifferentiated block that re-documents several schema parameters (minMonthlySavings, actionType, accountId, product, limit) almost verbatim. Restructuring or trimming the redundant filter sentence would make every sentence earn its place.

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?

With no output schema and seven optional parameters, the description carries the return-value burden well: it names the rollup sections, the per-recommendation fields, currency-conversion artifacts, sorting and cap behavior, and the provider-specific coverage limits. An agent has enough to call it correctly and interpret the response.

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?

Schema coverage is 100%, so the baseline is 3; the description goes slightly beyond by giving a worked example that shows how minMonthlySavings, actionType, limit, and response_format combine ('top 10 commitment-purchase opportunities worth at least $100/mo, plus the savings totals'). The rest of the filter prose largely restates the 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 opens with a specific verb and resource ('Get CloudQuell cost-savings opportunities for the caller's organization') and then enumerates the exact payload: headline rollup (banked/open/potential), by-action-type breakdown, effective-savings-rate metrics, and individual recommendations with their fields. An agent can tell this is the aggregated savings-opportunity endpoint rather than a pivot, history, or commitment-expiry listing, without opening the schema.

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?

It gives clear operational context: pass provider="azure"/"gcp" explicitly, OMIT it for the backend default, and choose response_format="concise" (default) vs "detailed" by token needs. It never states when to prefer this tool over a sibling (e.g. recommendation history), so it stops short of full when/when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources