Skip to main content
Glama

MofCloud Pricing MCP

compare_bandwidth

Compare fixed-bandwidth (按带宽) cost across clouds: the monthly USD cost of an N-Mbps public pipe from a region, tier-accumulated ($/Mbps is tiered, typically flat to 5 Mbps then steeper). charge_type 'subscription' (包月, default) or 'on_demand' (按量按小时, scaled ×730 to a month so both compare on one axis). This is the alternative to pay-by-traffic (compare_egress): a fixed pipe is cheaper for steady high-throughput, egress for bursty/low volume. Filter by provider/region/country/continent/near; cheapest first.

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

Input Schema

NameRequiredDescriptionDefault
mbpsNofixed bandwidth in Mbps to price (default 100)
nearNofree-text place to find nearby regions, e.g. Singapore
limitNomax rows (default 20, cap 50)
regionNoexact region code, e.g. ap-southeast-1
countryNoISO country code, e.g. US, SG
providerNocloud provider; omit for all
continentNoNA, SA, EU, AS, AF, or OC
radius_kmNoradius in km for 'near' (default 1000)
sort_descNosort most-expensive first (default cheapest first)
charge_typeNo'subscription' (monthly, default) or 'on_demand' (hourly, scaled to a month)

Output Schema

NameRequiredDescriptionDefault
rowsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/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 disclose non-obvious behavior: tiered $/Mbps pricing ('typically flat to 5 Mbps then steeper') and the ×730 hourly-to-monthly scaling that makes the two charge types comparable. It also states result ordering. It stops short of covering rate limits, auth requirements, or whether pagination exists beyond the 50-row cap, which keeps it at a 4 rather than a 5.

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 action and cost basis, then the charge-type semantics, then the disambiguation from compare_egress, then filters — a logical order with no filler sentences. It is dense with parentheticals (Chinese terms, defaults, tier notes), which costs a little readability but each element is load-bearing.

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 10-parameter, zero-required pricing tool with a full output schema and 100% schema coverage, the description supplies the missing decision context: charge-type semantics, tier behavior, default sort, and the alternative tool. Return-value shape is rightly omitted since an output schema exists. Only minor gaps remain, such as whether 'near' ignores region/country if both are supplied.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond it: charge_type is explained semantically (包月 vs 按量按小时 and the ×730 monthly normalization) and mbps is given pricing context (tier accumulation) that the schema's 'fixed bandwidth in Mbps to price' does not convey. The remaining filters (provider/region/country/continent/near) are only listed, not elaborated, so modest gains over the schema.

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?

Opens with a specific verb+resource: 'Compare fixed-bandwidth (按带宽) cost across clouds', then narrows to exactly what is priced — the monthly USD cost of an N-Mbps public pipe from a region. It explicitly names the sibling it is not (compare_egress) and states the economic tradeoff that separates them, so an agent can pick correctly without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use guidance: 'a fixed pipe is cheaper for steady high-throughput, egress for bursty/low volume', directly routing the agent to compare_egress for the other case. It also states default behavior for charge_type ('subscription' default) and the default sort ('cheapest first'), so no inference is needed.

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.