Skip to main content
Glama
x7even

OpenCloudCosts MCP

get_price

Get public and contracted cloud pricing across AWS, GCP, and Azure by specifying provider, domain, region, and resource details. Returns catalog rates and negotiated rates when credentials are available.

Instructions

Unified pricing tool — returns public catalog rates plus contracted/effective prices where credentials are available.

Pass a spec dict with at minimum: provider, domain, region. Domain-specific required fields (call describe_catalog for the complete list):

COMPUTE : resource_type ("m5.xlarge" / "n1-standard-4" / "Standard_D4s_v3") os ("Linux" or "Windows"), term ("on_demand"/"spot"/"cud_1yr") Fargate: vcpu (e.g. 2.0), memory_gb (e.g. 4.0), service="fargate" STORAGE : storage_type ("gp3"/"standard"/"nearline"/"premium-ssd") DATABASE : resource_type ("db.r5.large"/"db-n1-standard-4"), engine ("MySQL"), deployment ("single-az"/"ha"/"multi-az"), service ("rds"/"cloud_sql"/"memorystore") AI : model ("claude-3-5-sonnet"/"gemini-1.5-flash"), service ("bedrock"/"gemini"/"vertex"), input_tokens, output_tokens | machine_type + task for Vertex CONTAINER: service ("gke"/"eks"), mode ("standard"/"autopilot"), node_count, vcpu, memory_gb ANALYTICS: service ("bigquery"), query_tb, active_storage_gb, longterm_storage_gb, streaming_gb NETWORK : service ("cloud_lb"/"cloud_cdn"/"cloud_nat"/"cloud_armor"), lb_type, rule_count, data_gb, gateway_count, egress_gb, policy_count OBSERVABILITY: service ("cloudwatch"/"cloud_monitoring"), ingestion_mib, log_gb INTER_REGION_EGRESS: source_region, dest_region (empty = internet), data_gb Example: {"provider": "aws", "domain": "inter_region_egress", "source_region": "us-east-1", "dest_region": "eu-west-1"}

Returns public_prices[] always. When auth exists: contracted_prices[], effective_price, auth_available=true.

Call describe_catalog(provider, domain, service) for an example_invocation you can copy directly into this tool.

Args: spec: PricingSpec dict — see field descriptions above.

Examples: {"provider": "aws", "domain": "compute", "resource_type": "m5.xlarge", "region": "us-east-1"} {"provider": "aws", "domain": "ai", "service": "bedrock", "model": "claude-3-5-sonnet", "region": "us-east-1", "input_tokens": 1000000, "output_tokens": 1000000} {"provider": "gcp", "domain": "compute", "resource_type": "n1-standard-4", "region": "us-central1", "term": "cud_1yr"} {"provider": "gcp", "domain": "analytics", "service": "bigquery", "query_tb": 10.0, "active_storage_gb": 500.0, "region": "us"} {"provider": "azure", "domain": "compute", "resource_type": "Standard_D4s_v3", "region": "eastus"} {"provider": "aws", "domain": "database", "service": "rds", "resource_type": "db.r5.large", "engine": "MySQL", "deployment": "single-az", "region": "us-east-1"}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
specYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It describes the return values (public_prices[] always, contracted_prices[], effective_price, auth_available=true when auth exists) but does not mention side effects, rate limits, error handling, or other behaviors. It is partially transparent but lacks depth.

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 lengthy but well-organized with sections for each domain and bullet-style field requirements. It includes multiple examples. While it could be slightly more concise, the complexity of the tool justifies the length, and the structure aids readability.

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

Completeness5/5

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

Given the tool's complexity and the existence of an output schema (so return details need not be in description), the description is thorough. It covers all domains, references a sibling tool (describe_catalog) for additional guidance, and provides concrete examples that an agent can copy. The context is sufficient for correct invocation.

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?

The input schema defines only a generic spec object with additionalProperties: true, providing zero semantic guidance. The description compensates fully by detailing domain-specific required fields (e.g., for COMPUTE, STORAGE, DATABASE, AI, etc.) with concrete key-value pairs and examples, massively adding value beyond 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?

The description clearly defines get_price as a unified pricing tool that returns public catalog rates and contracted/effective prices. It distinguishes itself from sibling tools like compare_prices and find_cheapest_region by focusing on precise pricing for specific configurations and requiring a spec dict with provider, domain, and region.

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 explicitly states minimum required fields (provider, domain, region) and that domain-specific fields are needed, directing users to describe_catalog for the complete list. It provides multiple examples. However, it does not explicitly state when not to use this tool versus alternatives, though the examples and context imply its specific purpose.

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