Skip to main content
Glama

plan_rental

Read-only

Preview and validate a classic pay-as-you-go GPU rental order body offline before creation, without credentials or HTTP.

Instructions

Preview and validate the exact classic PAYG order body offline, without credentials or HTTP.

Get machine_id from gpu_machines and image_uuid from image_list/list_private. This previews creation; it does not check availability, price or account quota.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "machine_id": "<machine_id>",
      "image_uuid": "<image_uuid>"
    },
    "name": "plan_rental"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
gpu_amountNo
image_uuidYes
machine_idYes
private_imageNo
expand_data_diskNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so the offline, non-mutating nature is largely pre-declared; the description reinforces rather than adds to it. The genuinely additive part is the explicit scope limits (no availability, price, or quota checks), which prevents false confidence in the preview. It does not say whether the returned body is directly replayable against the real ordering endpoint.

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?

Three short sentences, front-loaded with the core purpose, with no filler. The only mild cost is the unexplained 'classic PAYG' terminology, which an unfamiliar agent must infer.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the read-only offline behavior is well covered. The gap is parameter coverage: four of six inputs are undocumented anywhere, which matters for a tool whose purpose is to validate an exact order body.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden, yet it clarifies only 2 of 6 parameters (machine_id and image_uuid, via their source tools). The remaining fields (name, gpu_amount, private_image, expand_data_disk) have no descriptions in either schema or prose, leaving defaults and units undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and object ('preview and validate the exact classic PAYG order body') and scopes it ('offline, without credentials or HTTP'). The phrase 'classic PAYG order body' is domain jargon, and the name plan_rental alone would not reveal it is a dry-run preview, but the description resolves that. It does not explicitly contrast itself with a real creation tool, though 'This previews creation' implies it.

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?

It gives concrete upstream prerequisites ('Get machine_id from gpu_machines and image_uuid from image_list/list_private') and explicit non-goals ('does not check availability, price or account quota'), which tells the agent when this tool's answer is insufficient. It stops short of naming an alternative tool to use when the agent actually needs price or availability data.

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