Skip to main content
Glama
sniper35
by sniper35

monitor_spot_availability

Monitor GPU spot instance availability and optionally deploy automatically when resources become available. Polls Verda Cloud using configurable intervals and parameters for GPU type, count, and deployment settings.

Instructions

Monitor for spot GPU availability and optionally auto-deploy when available.

Polls using the official Verda SDK is_available() method until a spot becomes available.

Args: gpu_type: GPU type to monitor (default from config). gpu_count: Number of GPUs (default from config). check_interval: Seconds between checks (default: 30). max_checks: Maximum number of checks before giving up (default: 60 = 30 min). auto_deploy: If True, automatically deploy when available (default: False). volume_id: Volume to attach if auto-deploying (default from config). script_id: Startup script if auto-deploying (default from config).

Returns: Status updates and deployment info if auto_deploy is enabled.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gpu_typeNo
gpu_countNo
check_intervalNo
max_checksNo
auto_deployNo
volume_idNo
script_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses key behavioral traits: polling behavior ('Polls... until a spot becomes available'), default values, and conditional actions based on 'auto_deploy'. However, it lacks details on error handling, rate limits, or what happens if 'max_checks' is reached without availability, leaving some gaps.

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 well-structured with a clear purpose statement, behavioral explanation, parameter details, and return info. It's appropriately sized for a complex tool, though the parameter section is lengthy but necessary. Minor redundancy in 'default from config' could be streamlined.

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?

Given 7 parameters, no annotations, and an output schema (which handles return values), the description is largely complete. It covers purpose, behavior, parameters, and returns. However, it could improve by addressing missing behavioral aspects like error handling or polling constraints, slightly reducing completeness.

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?

Schema description coverage is 0%, so the description must compensate fully. It provides detailed semantics for all 7 parameters, including purpose, defaults, and conditional relevance (e.g., 'volume_id' and 'script_id' only if 'auto_deploy' is True). This adds significant value beyond 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 tool's purpose: 'Monitor for spot GPU availability and optionally auto-deploy when available.' It specifies the verb ('monitor'), resource ('spot GPU availability'), and optional action ('auto-deploy'), distinguishing it from sibling tools like 'check_spot_availability' (which likely checks once) and 'deploy_spot_instance' (which deploys without monitoring).

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 implies usage context: monitoring for availability with optional deployment. It doesn't explicitly state when to use this tool versus alternatives like 'check_spot_availability' or 'deploy_spot_instance', but the monitoring aspect is clear. No exclusions or prerequisites are mentioned, keeping it at a 4.

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/sniper35/verda-cloud-mcp'

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