Skip to main content
Glama

rent_offer

Place a rental on YOUR provider account (BYO key — it is used for this one call and never stored). Default is a DRY RUN returning exactly what would be executed; a live placement needs dry_run=false AND confirm=true. The offer is re-quoted live first and refused if its price exceeds max_price_per_gpu_hr. Executes on vast and runpod offers. Pass an idempotency_key so retries return the first receipt instead of renting twice. auto_destroy_budget_usd arms the budget guard: this station then holds your key in PROCESS MEMORY ONLY and destroys the rental when estimated spend reaches the cap (a station restart drops the guard — the receipt says so; poll rental_status as backstop). account_token (from register_account) attributes the rental to your usage ledger.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
imageNo
labelNo
api_keyYes
confirmNo
disk_gbNo
dry_runNo
offer_idYes
account_tokenNo
idempotency_keyNo
max_price_per_gpu_hrYes
auto_destroy_budget_usdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full transparency burden and excels: it discloses that the API key is never stored, that the offer is re-quoted live and refused above max price, and that auto_destroy_budget_usd holds the key in process memory only and destroys the rental at the cap, with a station-restart caveat. This is exceptionally candid about side effects and safety behavior.

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 dense but every sentence earns its place: key handling, dry-run default, live-placement conditions, price guard, idempotency, budget destruction behavior, and account attribution. It front-loads the most critical safety facts and has no filler.

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 high-stakes side-effecting tool with 11 parameters and no output schema, the description covers nearly all behavior an agent needs: dry-run semantics, idempotency, budget guard, and key safety. Minor gaps remain around the return/receipt shape and the optional image/label/disk_gb parameters, but the essential call semantics are well specified.

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 description coverage is 0%, so the description must add meaning beyond parameter names. It does this well for api_key, dry_run, confirm, max_price_per_gpu_hr, idempotency_key, auto_destroy_budget_usd, and account_token. However, image, label, disk_gb, and offer_id are left to their names and schema defaults, so coverage is strong but not complete.

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 opens with a specific verb and resource: 'Place a rental on YOUR provider account,' and it names the target offer types ('vast and runpod offers'). This clearly distinguishes rent_offer from sibling tools like rent_best or search_offers by focusing on executing a specific, already-chosen offer rather than selecting one.

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 gives clear operational guidance: dry run is the default, live placement requires both dry_run=false and confirm=true, and retries should use an idempotency_key. It also references register_account for account_token and rental_status as a backstop, though it does not explicitly state when to choose this tool over rent_best or rent_x402.

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.