Skip to main content
Glama

CloudSwap

quote_job

Price a stateless container or batch/GPU job on every provider and return the cheapest fitting place, with cost per run and the next best offers. Dry run: places nothing.

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": {
      "vcpus": "<vcpus>",
      "mem_gb": "<mem_gb>"
    },
    "name": "quote_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNoexpected wall time on an AWS c7i-class CPU or the named GPU
trustNo
vcpusYes
mem_gbYes
regionsNoeu, us, asia or region codes
spot_okNojob may be interrupted and re-run
gpu_typeNoe.g. H100, A100, RTX 4090; omit for CPU jobs
gpu_countNo
statelessNomust be true; stateful jobs are refused
data_in_gbNodata pulled from AWS per run (egress cost)
max_price_hrNoUSD per hour cap

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does valuable work by declaring the operation side-effect free ('places nothing') and describing the ranking returned. However, it says nothing about authentication or provider credentials, rate limiting, whether pricing is live or cached, or what happens when no offer fits the constraints — significant gaps for a tool that fans out across every provider.

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?

Two tight sentences with the action, scope, and return shape front-loaded and the safety note last. No filler; the only slight loss is that the dry-run note would land harder if placed first.

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 an 11-parameter tool with no output schema, the description covers the essential contract: it prices across providers, returns the cheapest fit plus alternatives, and creates nothing. The remaining gaps — failure behavior when no provider fits, credential requirements — are meaningful but not disqualifying.

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 coverage is 64% across 11 parameters, so several fields (trust, max_price_hr, spot_ok, gpu_count) rely on the schema alone. The description adds only indirect meaning, linking 'cost per run' to hours/data_in_gb and 'cheapest fitting place' to the constraint set; it explains no parameter's interpretation beyond that.

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 ('Price'), a specific resource ('stateless container or batch/GPU job'), and the scope ('on every provider'), plus the output shape ('cheapest fitting place, with cost per run and the next best offers'). The closing 'Dry run: places nothing' implicitly separates it from run_job, so an agent can tell quoting from executing without opening any schema.

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?

'Dry run: places nothing' hints that this is a pre-flight/pre-execution step, but the description never says so explicitly, never names run_job as the follow-up, and gives no exclusion criteria. Usage is implied rather than stated.

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.

Resources