Skip to main content
Glama

r4ck: Facet Counts

r4ck_facets
Read-onlyIdempotent

[r4ck] Every facet value with its count, under an optional filter set.

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_facets"
  }
}

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

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is fully covered. The description adds almost nothing beyond that: it does not explain whether counts are computed after filtering, what the facet dimensions are, or how the response is shaped. The docs URL is the only extra, and it offloads rather than discloses.

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 short lines, purpose front-loaded ahead of the provider boilerplate. Nothing is padded, but the boilerplate "Served by r4ck" line consumes half the description without helping tool selection.

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

Completeness2/5

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

For a 28-parameter aggregation tool with no output schema, the definition is far too thin. The agent is not told the response shape (value/count pairs?), which facets are available, or how limit/offset/sort interact with a facet-count query — all things structured fields cannot supply here.

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?

28 parameters with 64% schema description coverage means a substantial subset (sort, limit, offset, arch, tenancy, integer bounds, etc.) carry no explanation anywhere. The description contributes zero parameter meaning beyond the vague "optional filter set", so it fails to compensate for the coverage gap on a filtering tool whose whole job is parameter-driven.

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

Purpose3/5

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

"Every facet value with its count, under an optional filter set" does identify the resource (facet values plus counts) and the scope (filtered), so the purpose is inferable. However, it never says which fields are faceted or how this differs from siblings like r4ck_stats or r4ck_search_servers, leaving the agent to guess at the exact output.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no named alternative. The phrase "under an optional filter set" hints that filters can be supplied but says nothing about when an agent should reach for facet counts instead of running a search or asking for stats.

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