Skip to main content
Glama

List Commitments (RIs & Savings Plans)

list_commitments
Read-only

List the organization's cloud commitments, with a utilization/expiry summary: AWS Reserved Instances & Savings Plans, Azure Reservations & Savings Plans, and GCP Committed Use Discounts (CUDs). Each row carries commitmentType (a provider-native string, e.g. "ReservedInstance" or "SavingsPlan" on AWS), status (active|expiring_soon|expired), daysUntilExpiry, utilizationPct, dollarsSaved, and effectiveCost; the summary totals commitments, overall utilization, count expiring within 60 days, already expired, and total dollars saved. Expired rows cover only the last 90 days and only lapses with no detected renewal/repurchase — older or already-replaced ones are dropped server-side. Scope with provider ("aws" | "azure" | "gcp"; OMIT = all cloud providers combined, AWS + Azure + GCP — the backend default; commitments are cloud-only) or with integration_id (scoping follows that integration's provider server-side). Use response_format="concise" (default) for key fields, "detailed" for every field. Read-only. Example: { "provider": "azure" } returns just the Azure commitments plus the rollup; {} returns commitments across every connected cloud. To see only the ones at risk, use get_expiring_commitments instead.

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": "list_commitments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows to return in the list section (default: no cap beyond the truncation guard).
providerNoCloud provider scope for the commitments data: "aws" (Reserved Instances & Savings Plans), "azure" (Reservations & Savings Plans), or "gcp" (Committed Use Discounts). OMIT = ALL cloud providers combined (AWS + Azure + GCP — the backend default for commitments). Commitments are cloud-only — Snowflake/Anthropic/OpenAI have none. Pass one provider per call to narrow the scope.
integration_idNoScope to one or more provider connections (integration id). Omit for all connections.
response_formatNoconcise = key fields only (default, lower token cost); detailed = the full parsed payload.concise

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnlyHint the description discloses real server-side behavior: expired rows are limited to the last 90 days and only lapses with no detected renewal, with older/replaced ones dropped before return, and expired/expiring counts feed a rollup. It also states the default scope (all three clouds combined) and the truncation guard, which are the main ways results can surprise an agent.

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?

Front-loaded with purpose and scope, then payload shape, then scoping rules, then the alternative — a sensible information order with no filler sentences. It is on the dense side, and the provider enumeration plus example partially restate what the enum and schema description already say.

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, the description carries the return-shape burden itself, enumerating row fields and the rollup contents, plus the retention rule for expired rows. An agent can call this correctly and interpret the response without further documentation.

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 3 is the floor; the description adds meaning on top by spelling out that omitted provider means all clouds combined, that integration_id scopes follow that integration's provider, and what concise vs. detailed actually change. It also names the returned row fields (commitmentType, utilizationPct, daysUntilExpiry) that the parameters interact with.

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?

Names a specific verb and resource ("List the organization's cloud commitments") and immediately qualifies the domain: AWS RIs & Savings Plans, Azure Reservations & Savings Plans, GCP CUDs. It also explicitly marks the boundary against the sibling get_expiring_commitments, so an agent can distinguish the two without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use guidance (whole-portfolio listing vs. "only the ones at risk" → get_expiring_commitments), plus concrete routing rules for provider vs. integration_id and two worked examples ({ "provider": "azure" } and {}). Exclusions are stated: commitments are cloud-only, so Snowflake/Anthropic/OpenAI have none.

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