Skip to main content
Glama
cloudprice-mcp

cloudprice-mcp

get_gcp_price

Look up the on-demand Linux hourly and monthly price for a GCP Compute Engine machine type in us-east1, including vCPUs and memory.

Instructions

Look up the on-demand Linux hourly + monthly price for a GCP Compute Engine machine type in us-east1. Returns vCPUs, memory, hourly USD, and monthly USD.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "machine_type": "<machine_type>"
    },
    "name": "get_gcp_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
machine_typeYesGCP machine type, e.g. 'e2-standard-4'. Available: a2-highgpu-1g, a2-highgpu-8g, a2-ultragpu-1g, a3-highgpu-8g, c2-standard-4, c2-standard-8, e2-medium, e2-micro, e2-small, e2-standard-16, e2-standard-2, e2-standard-4, e2-standard-8, g2-standard-4, n1-standard-4+t4, n2-highcpu-4, n2-highmem-2, n2-highmem-4, n2-standard-2, n2-standard-4, n2-standard-8

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.0
    • changedInput schema / properties / machine_type / description
      Previous value: -"GCP machine type, e.g. 'e2-standard-4'. Available: c2-standard-4, c2-standard-8, e2-medium, e2-micro, e2-small, e2-standard-16, e2-standard-2, e2-standard-4, e2-standard-8, n2-highcpu-4, n2-highmem-2, n2-highmem-4, n2-standard-2, n2-standard-4, n2-standard-8"New value: +"GCP machine type, e.g. 'e2-standard-4'. Available: a2-highgpu-1g, a2-highgpu-8g, a2-ultragpu-1g, a3-highgpu-8g, c2-standard-4, c2-standard-8, e2-medium, e2-micro, e2-small, e2-standard-16, e2-standard-2, e2-standard-4, e2-standard-8, g2-standard-4, n1-standard-4+t4, n2-highcpu-4, n2-highmem-2, n2-highmem-4, n2-standard-2, n2-standard-4, n2-standard-8"
  2. First observedv0.2.2

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the fixed region, the pricing model (on-demand Linux), and the exact returned fields, but says nothing about data freshness, cached vs. live pricing, or what happens for a machine type outside the schema list.

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?

Two sentences, zero filler, with the scope and the return contents front-loaded. Every clause carries information an agent needs.

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?

With no output schema, the description does the necessary work of enumerating return fields (vCPUs, memory, hourly USD, monthly USD). Only error behavior for unsupported machine types or regions is left unaddressed, which is a minor gap for this simple lookup.

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% and the single parameter is fully documented with examples and an enumerated list of valid machine types. The description only restates the parameter's meaning and adds the implicit us-east1 scoping, which is marginal 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?

States a specific verb ("Look up") and resource ("GCP Compute Engine machine type"), plus the exact pricing dimension (on-demand Linux hourly + monthly) and region (us-east1). The GCP qualifier is enough to separate it from get_aws_price and get_azure_price without naming them.

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

Usage Guidelines3/5

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

The scope constraints (us-east1 only, on-demand Linux only) implicitly tell an agent when this tool is the wrong choice, which is useful. However, no alternative is named for other regions, operating systems, or commitment-based pricing, so routing still requires inference.

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