Skip to main content
Glama

r4ck: Cheapest Servers Meeting a Spec

r4ck_cheapest
Read-onlyIdempotent

[r4ck] The lowest priced rows that meet the given minimums, ranked by estimated monthly USD, across providers: at most 2 rows per provider by default (per_provider, 0 = every row; no cap when a provider is named). Page with limit/offset; total counts rows under the cap, matched counts every matching row.

Served by r4ck (https://r4ck.dev/docs/mcp).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "r4ck_cheapest"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoA sentence or keywords: "2 vcpu 4gb under $10 in germany". Parsed into the fields below; explicit fields win.
gpuNo
hasNoProvider automation required.
newNoOnly offers first seen within this window: 24h, 7d, 2w (a bare number is days). Pair with sort=new for the newest first.
archNo
kindNoOffer kinds.
sortNo
limitNo
orderNo
stockNodiscontinued = the provider no longer lists the plan; hidden unless asked for by name
offsetNo
regionNoA region word (eu, europe, asia, north america, nordics, dach…) expanded to countries.
countryNoISO 3166 alpha-2 codes the offer is available in.
max_ramNoGB
min_ramNoGB
tenancyNo
currencyNoBilled-in currency code
intervalNo
max_diskNoGB
max_vcpuNo
min_diskNoGB
min_vcpuNo
platformNoWhere the row was read: api, whmcs, openserver…
providerNoProvider slugs, domains or names.
gpu_modelNoSubstring of the GPU model, e.g. h100
max_priceNoUSD per month, estimated
min_priceNoUSD per month, estimated
per_providerNoAt most this many rows per provider, applied in the requested order before limit/offset, so one provider with thousands of rows (Vast.ai GPUs) cannot fill every page. 0 = no cap. search_servers: no cap unless given. cheapest: 2 unless given or a provider is named. The reply carries total (rows under the cap), matched (rows matching at all) and per_provider.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / per_provider
      Added value: +{
      +  "description": "At most this many rows per provider, applied in the requested order before limit/offset, so one provider with thousands of rows (Vast.ai GPUs) cannot fill every page. 0 = no cap. search_servers: no cap unless given. cheapest: 2 unless given or a provider is named. The reply carries total (rows under the cap), matched (rows matching at all) and per_provider.",
      +  "maximum": 50,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. Changed4 schema fields changed
    • addedInput schema / properties / new
      Added value: +{
      +  "description": "Only offers first seen within this window: 24h, 7d, 2w (a bare number is days). Pair with sort=new for the newest first.",
      +  "examples": [
      +    "7d"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / sort / enum
      Previous value: -[
      -  "relevance",
      -  "price",
      -  "value",
      -  "ram",
      -  "vcpu",
      -  "disk",
      -  "updated",
      -  "name"
      -]New value: +[
      +  "relevance",
      +  "price",
      +  "value",
      +  "ram",
      +  "vcpu",
      +  "disk",
      +  "updated",
      +  "new",
      +  "name"
      +]
    • addedInput schema / properties / stock / description
      Added value: +"discontinued = the provider no longer lists the plan; hidden unless asked for by name"
    • changedInput schema / properties / stock / enum
      Previous value: -[
      -  "in_stock",
      -  "out_of_stock",
      -  "unknown"
      -]New value: +[
      +  "in_stock",
      +  "out_of_stock",
      +  "unknown",
      +  "discontinued"
      +]
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, and the description still adds real behavior: results are ranked by an *estimated* monthly USD figure, the per-provider cap is applied before limit/offset so a single huge provider cannot fill a page, and total vs matched are distinguished. It stops short of describing what each returned row contains.

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?

Front-loaded with the core definition, then the ranking and capping rules, then pagination semantics. Dense but every clause carries information; only the served-by attribution line is 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 28-parameter tool with no output schema, the description covers the essentials an agent needs to call it correctly: ranking basis, default per-provider cap, the 0/'provider named' exceptions, pagination, and the shape of the summary counts. Row-level return fields and how estimated prices are derived remain unstated, but that is a modest gap.

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?

With 28 parameters and 64% schema description coverage, the schema does most of the work. The description reinforces per_provider, limit/offset and the two count fields, but adds little meaning beyond what those schema descriptions already state, and says nothing about the free-text q parameter or how price bounds interact with currency/interval.

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?

States a concrete verb and resource: returns the lowest-priced rows meeting given minimums, ranked by estimated monthly USD across providers. It implicitly separates itself from search_servers via the per_provider default note, but never names a sibling as an alternative in the main description body.

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 is only implied: you come here when you want the cheapest offers meeting a spec, and the cap behavior hints at how this differs from a broad search. There is no explicit 'use this instead of r4ck_search_servers when...' or any stated exclusion, so an agent must infer the routing.

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