Skip to main content
Glama
x7even

OpenCloudCosts MCP

get_prices_batch

Compare prices for multiple cloud instance types in a single region with one concurrent call. Supports AWS, GCP, Azure with various operating systems and pricing terms.

Instructions

Get prices for multiple compute instance types in a single region in one call.

Fetches all prices concurrently. Useful for comparing a shortlist of candidate instance types (e.g. m5.xlarge vs c5.xlarge vs r5.xlarge) without separate calls.

Args: provider: Cloud provider — "aws", "gcp", or "azure" instance_types: List of instance types, e.g. ["m5.xlarge", "c5.xlarge", "r5.large"] region: Region code, e.g. "us-east-1" or "us-central1" os: Operating system — "Linux" (default) or "Windows" term: Pricing term — "on_demand" (default), "spot", "reserved_1yr", "cud_1yr"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
osNoLinux
termNoon_demand
regionYes
providerYes
instance_typesYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries the full burden. It mentions 'fetches all prices concurrently', which is a useful behavioral trait. However, it does not disclose response format, error handling, rate limits, or authentication needs.

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?

The description is well-structured with an introductory sentence, a use-case sentence, and a clear Args list. It is front-loaded with the purpose. The Args section adds length, but each line is earned.

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?

Given the tool has 5 parameters (3 required), an output schema, and sibling tools, the description covers the input semantics and use case well. However, it lacks details on handling partial failures, pagination, or response structure beyond what the output schema provides.

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

Parameters5/5

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

Schema description coverage is 0%, but the description includes a detailed Args section explaining each parameter (provider, instance_types, region, os, term) with examples and defaults, adding significant meaning beyond the raw 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?

The description uses specific verbs and resources: 'Get prices for multiple compute instance types in a single region'. It clearly distinguishes from sibling tools like 'get_price' (single instance) and 'compare_prices' (likely cross-provider comparison).

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?

The description states it's 'useful for comparing a shortlist of candidate instance types' and that it 'fetches all prices concurrently' to avoid separate calls. While it gives clear context, it does not explicitly state when not to use it or name alternatives beyond implication.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/x7even/cloudcostsmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server