Skip to main content
Glama

MofCloud Pricing MCP

compare_providers

For a given machine shape (vCPU/memory/GPU/charge-type), return the single cheapest instance from EACH cloud provider, ordered cheapest-first. Best for 'which cloud is cheapest for X'. Dedicated-core only unless include_burstable is set.

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": "compare_providers"
  }
}

Input Schema

NameRequiredDescriptionDefault
osNooperating system: linux or windows
archNoCPU architecture: x86 or arm
nearNofree-text place (city/region) to find nearby regions, e.g. Singapore, Tokyo, us-east-1
termNofor reserved/subscription: contract length, e.g. 1 or 3 (years)
limitNomax rows to return (default 20, hard cap 50)
queryNosubstring match on instance type name
regionNoexact region code, e.g. us-east-1
countryNoISO country code to restrict regions, e.g. US, CN, SG
gpu_onlyNoonly return GPU instances
max_vcpuNomaximum vCPU count
min_vcpuNominimum vCPU count
providerNocloud provider, e.g. AWS, Azure, AlibabaCloud, GCP; omit for all
continentNorestrict to a continent: NA (North America), SA, EU, AS (Asia), AF, OC (Oceania)
gpu_modelNoGPU model to match, e.g. A100, H100, T4
radius_kmNoradius in km for 'near' (default 1000)
sort_descNosort most-expensive first (default cheapest first)
charge_typeNopricing model: on_demand, subscription, reserved, or spot
max_mem_gibNomaximum memory in GiB
min_mem_gibNominimum memory in GiB
max_hourly_usdNomaximum price in USD per hour
payment_optionNofor reserved: all_upfront, partial_upfront, or no_upfront
min_gpu_mem_gibNominimum GPU memory (VRAM) in GiB
include_burstableNoalso return burstable (CPU credits/baseline: AWS t3, Azure B, Alibaba t6, Huawei t6/at7) and shared-core (GCP e2-micro, Linode/Vultr shared CPU) instances; excluded by default because their price buys a CPU baseline, not a full core
min_bandwidth_gbpsNominimum network bandwidth in Gbps

Output Schema

NameRequiredDescriptionDefault
noteNo
rowsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses that exactly one result per provider is returned, that ordering is cheapest-first, and that burstable/shared-core shapes are silently excluded by default — a filter that materially changes results. It omits safety profile (read-only nature) and how near/region resolution behaves, leaving minor gaps.

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?

Three short sentences, front-loaded with the output contract and ordering, then the use case, then the default exclusion caveat. No filler or repetition.

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 tool with 24 optional parameters and an output schema that defines return values, the description covers the essentials: what is returned, in what order, and the key default filter. Geospatial resolution (near/radius_km) and deduplication semantics across regions are left to the schema, which is acceptable but not fully addressed.

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 description coverage is 100%, so all 24 parameters are already documented in the schema. The description adds framing by naming the dimensions that constitute a 'machine shape' (vCPU/memory/GPU/charge-type) and restating the include_burstable effect, but this largely duplicates existing schema text. Baseline 3 is appropriate.

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 and resource with precise scope: 'return the single cheapest instance from EACH cloud provider' for a given machine shape. The 'one per provider, cheapest-first' framing makes it clearly distinct from search_instances and the other compare_* siblings, which focus on disks, egress, bandwidth, etc.

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?

Gives an explicit use case in quoted form ('which cloud is cheapest for X') and states a default constraint (dedicated-core only unless include_burstable is set). It does not name an alternative tool or state when NOT to use it, so it falls short of a 5, but the intent boundary is clear.

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.