Skip to main content
Glama

Pick the cheapest offer that really fits

recommend_plan
Read-only

Get a concrete Vast.ai rental plan from a workload template: compatible GPU offers, total session cost with weight download, the hidden-price trap avoided, and exact create_instance arguments.

Instructions

One call from a workload to a concrete plan: the offer to rent, what the session will cost including weight download, the sticker-price trap it avoided, and the exact create_instance arguments. Never picks hardware the workload cannot run on. Returns JSON: {ok, message, next_tool, next_args, ...tool-specific fields}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
templateYesTemplate id, e.g. minimax-h3/i2v-32gb
gpu_namesNoRestrict to exact Vast gpu_name values, e.g. ["RTX 5090"]
work_minutesNoMinutes of real GPU work planned, default 45
interruptibleNoBid for an interruptible instance; it can be reclaimed mid-render
allow_unverifiedNoConsider hosts Vast has not verified: cheaper, flakier
max_usd_per_hourNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesfalse only when the tool itself failed (bad input, missing key, API error).
messageYesHuman-readable summary to relay to the user.
next_argsNoSuggested arguments for next_tool.
next_toolNoSuggested next tool, or null when nothing else is needed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (readOnly, openWorld, non-destructive), the description discloses a real behavioral guarantee—'Never picks hardware the workload cannot run on'—and explains that it accounts for weight-download costs rather than sticker price. It also reveals the return envelope {ok, message, next_tool, next_args}, making its recommend-then-delegate behavior concrete. No contradiction with annotations; readOnlyHint is consistent with producing next_args rather than creating.

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?

Three compact clauses front-load the core value proposition, and every sentence earns its place: plan contents, the compatibility guarantee, and the return envelope. There is no filler, restatement of the schema, or marketing language.

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 description covers the plan contents, cost model (weight download), safe-selection guarantee, and return envelope, and an output schema exists so return values need not be re-explained. Gaps are moderate: no statement of failure behavior when no offer fits, and no explicit routing relative to estimate_deployment—though the core calling contract is clear.

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

Parameters3/5

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

Schema description coverage is 83%, so the baseline is 3 even without parameter details in the description. The text reinforces the planning model (session cost, work_minutes context) but adds no parameter-specific semantics and does not compensate for max_usd_per_hour, the single parameter lacking a schema description.

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?

States a specific verb+resource: it turns a workload template into a concrete rental plan. Names the exact deliverables (offer to rent, session cost including weight download, avoided sticker-price trap, create_instance arguments) and differentiates from siblings like estimate_deployment and create_instance by framing itself as the planning step that outputs next_tool/next_args.

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

Usage Guidelines3/5

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

Usage context is implied—'One call from a workload to a concrete plan' signals this is the pre-create planning step, and 'exact create_instance arguments' hints at its place in the workflow. However, it never names alternatives or exclusions; with siblings like estimate_deployment that could plausibly serve the same role, an explicit 'use this when X, use that when Y' is missing.

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