Skip to main content
Glama

list_recommendations

Returns paginated CloudFix recommendations with optional filtering by finder, status, account, region, OU, and date range. CloudFix starts a "Suggested" recommendation automatically only while the maintenance window covering its account and region is open, so one may be held until its window opens, or blocked because no window covers it; its window state is returned with verbose: true and by get_recommendation_details. The status "Scheduled" means an SSM execution CloudFix has started, not a recommendation waiting for its window. Pagination note: stop paging when totalReturned equals 0, even if hasMore is true — this occurs when all DB rows on a page were rewritten to a different status (e.g. "Manual Approval" → "Disabled") after the query.

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_recommendations"
  }
}

Input Schema

NameRequiredDescriptionDefault
ouNoFilter by organizational unit(s)
toNoEnd date filter (ISO-8601)
fromNoStart date filter (ISO-8601)
pageNoPage number, 1-based (default 1)
finderNoFilter by finder type, e.g. "Gp2Gp3" or "Ec2LowRiskRightsize"
regionNoFilter by AWS region(s)
statusNoFilter by status values. Valid values: "Suggested", "Scheduled", "In Progress", "Manual Approval", "Completed", "Rejected", "Failed", "No Longer Applicable", "Resource Deleted", "Resource Fixed", "Manually Fixed". "Scheduled" means CloudFix has started the fix's SSM execution; it does not select recommendations waiting for their maintenance window, which are stored "Suggested" and carry their window state in the verbose fields. Note: "Disabled", "Needs Upgrade" and "Needs Stack Upgrade" are assigned while the response is built and are not stored in the database, so using any of them as a filter returns no results. "Needs Upgrade" rows are stripped from the response entirely; "Disabled" and "Needs Stack Upgrade" rows are returned, so they show up in an unfiltered response.
accountNoFilter by AWS account ID(s)
sort_byNo
verboseNoInclude extra metadata fields (default false), among them the maintenance-window state: maintenanceWindow (scheduled, blocked or fault, the window's name and next opening, who requested the run) and windowRequestedAt. Without them a "Suggested" recommendation held until its window opens, or blocked because no window covers it, cannot be told from one about to run. Note: use get_recommendation_details for full recommendation parameters.
resourceNoSearch by resource ID pattern
page_sizeNoResults per page (default 25, max 100)
sort_orderNo
include_tagsNoInclude each recommendation's stored resource tags as a `tags` object (default false), in concise and verbose mode alike. Every stored key is returned with its exact spelling and original JSON value, including customer tags such as Owner or CostCenter and CloudFix virtual tags such as cloudfix_L4. These are the tags recorded with the recommendation, not live AWS tags, and not validated ownership.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it explains that 'Suggested' rows may be held or blocked by maintenance windows, that 'Scheduled' denotes a started SSM execution, and that Disabled/Needs Upgrade rows are computed at response time rather than stored. The pagination caveat (stop when totalReturned == 0 even if hasMore is true, because rows were rewritten) is exactly the kind of non-obvious behavior an agent cannot infer elsewhere. It stops short of describing auth requirements or rate limits, but the core behavioral quirks are disclosed.

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 purpose sentence is front-loaded and every claim is substantive, but the maintenance-window and status explanations substantially duplicate the verbose and status parameter descriptions in the schema. A shorter pointer ('see status/verbose field docs') would preserve the guidance with less repetition.

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?

For a 14-parameter list tool with no annotations and no output schema, the description covers the risky areas an agent would otherwise get wrong: window-state ambiguity, misleading status labels, and a pagination termination rule. It does not describe the response envelope (totalReturned/hasMore are referenced but not defined), which is the remaining gap.

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 86%, so the baseline is 3, and the description earns an increment by clarifying the semantic traps the schema cannot: that filtering on the virtual statuses returns nothing, and that verbose:true is what makes held vs. ready recommendations distinguishable. Most of that detail is echoed in the schema text, so it is reinforcement rather than net-new information.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a precise verb and resource ('Returns paginated CloudFix recommendations') plus the exact filter dimensions, which is far beyond a restatement of the name. It points to get_recommendation_details for a distinct job (full parameters), though it does not contrast itself with get_recommendations_summary or get_recommendation_report.

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 conditional guidance: use get_recommendation_details for full parameters, and enable verbose:true only when maintenance-window state matters. It lacks explicit when-not-to-use framing against the summary/report siblings, so routing to those is left to inference.

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