Skip to main content
Glama

get_right_sizing

Get right-sizing suggestions for workloads in an Ocean cluster to reduce costs. Results sorted by savings potential, filterable by namespace, cloud provider, and limit.

Instructions

Get right-sizing resource suggestions for workloads in an Ocean cluster (AWS or Azure). Results are sorted by savings potential (biggest CPU delta first) and truncated to limit.

Args: cluster_id: The Ocean cluster ID (e.g. o-abc12345) namespace: Optional namespace to filter suggestions account_id: Optional account ID to query. Defaults to SPOTINST_ACCOUNT_ID env var. cloud: Cloud provider: aws or azure (default: aws) limit: Max items to return, sorted by savings potential (default: 50). Set limit=0 for all results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cluster_idYes
namespaceNo
account_idNo
cloudNoaws
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations are absent, so the description bears full burden. It discloses sorting by savings potential, truncation, defaults, and cloud provider options, but does not explicitly state read-only nature or lack of side effects. Adequate but not exceptional.

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

Conciseness5/5

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

The description is concise and front-loaded: the first sentence conveys purpose, followed by key behaviors and a structured parameter list. Every sentence adds value without redundancy.

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?

The presence of an output schema reduces the need for return value explanation. The description covers sorting, truncation, and parameter details adequately. Missing minor aspects like error handling or pagination, but overall complete for this tool's simplicity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite 0% schema description coverage, the Args section thoroughly explains each parameter's purpose, defaults, and special behaviors (e.g., limit=0 for all results). This adds significant value beyond the bare input schema.

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 clearly states the tool gets right-sizing resource suggestions for workloads in an Ocean cluster, specifying cloud providers (AWS or Azure). This distinguishes it from sibling tools like get_cluster or get_cluster_costs.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives. While the description implies context (right-sizing suggestions), it does not provide when-not-to-use or alternative tool references.

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

Install Server

Other Tools

Latest Blog Posts

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/arnstarn/mcp-server-spotinst'

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