Skip to main content
Glama

initiate_roll

Initiate a rolling restart of nodes in an Ocean cluster by draining and replacing them in configurable batches to maintain service availability during updates.

Instructions

DESTRUCTIVE: Initiate a rolling restart of nodes in an Ocean cluster. This will drain and replace nodes in batches. Requires confirm=true.

Args: cluster_id: The Ocean cluster ID (e.g. o-abc12345) confirm: Must be true to execute. Safety guard against accidental rolls. batch_size_percentage: Percentage of nodes to roll per batch (default: 20) batch_min_healthy_percentage: Min healthy nodes per batch (default: 50) respect_pdb: Respect PodDisruptionBudgets (default: true) launch_spec_ids: Comma-separated VNG IDs to roll (e.g. ols-abc,ols-def). Empty = all. instance_ids: Comma-separated instance IDs to roll. Empty = all in scope. account_id: Optional account ID. Defaults to SPOTINST_ACCOUNT_ID env var. cloud: Cloud provider: aws or azure (default: aws)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cluster_idYes
confirmNo
batch_size_percentageNo
batch_min_healthy_percentageNo
respect_pdbNo
launch_spec_idsNo
instance_idsNo
account_idNo
cloudNoaws

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by explicitly labeling the operation as 'DESTRUCTIVE' and explaining what happens ('drain and replace nodes in batches'). It mentions the safety requirement ('confirm=true') but doesn't cover other behavioral aspects like rate limits, authentication needs, or what the output contains.

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?

The description is appropriately sized and front-loaded with the most critical information first ('DESTRUCTIVE' warning and core purpose). The parameter explanations are comprehensive but necessary given the schema coverage gap. The structure could be slightly improved by separating the parameter details more clearly from the main description.

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 complex, destructive operation with 9 parameters and no annotations, the description does well by covering purpose, destructiveness, safety requirements, and parameter semantics. Since there's an output schema (per context signals), the description doesn't need to explain return values. It could benefit from more behavioral context about what happens during the roll process.

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?

With 0% schema description coverage for 9 parameters, the description fully compensates by providing clear explanations for every parameter in the Args section. Each parameter gets meaningful context beyond just names (e.g., 'default: 20', 'Empty = all', 'Defaults to SPOTINST_ACCOUNT_ID env var'), adding substantial value over the bare 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 specific action ('Initiate a rolling restart'), target resource ('nodes in an Ocean cluster'), and method ('drain and replace nodes in batches'). It distinguishes from sibling tools like 'get_roll' or 'list_rolls' by emphasizing the destructive initiation action rather than retrieval.

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?

The description provides clear context for when to use this tool ('Requires confirm=true' as a safety guard) and implies it's for maintenance/restart scenarios. However, it doesn't explicitly state when NOT to use it or mention alternatives among the many sibling tools (e.g., when to use this vs. 'detach_instances' or 'update_vng').

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