Skip to main content
Glama
cloudprice-mcp

cloudprice-mcp

get_aws_price

Look up on-demand AWS EC2 Linux pricing in us-east-1 for a specific instance type, including vCPUs, memory, hourly USD, and monthly USD at 730 hours.

Instructions

Look up the on-demand Linux hourly + monthly price for an AWS EC2 instance type in us-east-1. Returns vCPUs, memory, hourly USD, and monthly USD (730 hours). For multi-cloud comparisons including OCI, Azure, and GCP, use compare_clouds instead.

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": {
      "instance_type": "<instance_type>"
    },
    "name": "get_aws_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
instance_typeYesEC2 instance type, e.g. 't3.medium'. Available: c5.2xlarge, c5.large, c5.xlarge, g4dn.xlarge, g5.xlarge, g6.xlarge, g6e.xlarge, m5.2xlarge, m5.4xlarge, m5.large, m5.xlarge, p3.2xlarge, p4d.24xlarge, p5.48xlarge, r5.2xlarge, r5.large, r5.xlarge, t3.2xlarge, t3.large, t3.medium, t3.micro, t3.small, t3.xlarge

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.0
    • changedInput schema / properties / instance_type / description
      Previous value: -"EC2 instance type, e.g. 't3.medium'. Available: c5.2xlarge, c5.large, c5.xlarge, m5.2xlarge, m5.4xlarge, m5.large, m5.xlarge, r5.2xlarge, r5.large, r5.xlarge, t3.2xlarge, t3.large, t3.medium, t3.micro, t3.small, t3.xlarge"New value: +"EC2 instance type, e.g. 't3.medium'. Available: c5.2xlarge, c5.large, c5.xlarge, g4dn.xlarge, g5.xlarge, g6.xlarge, g6e.xlarge, m5.2xlarge, m5.4xlarge, m5.large, m5.xlarge, p3.2xlarge, p4d.24xlarge, p5.48xlarge, r5.2xlarge, r5.large, r5.xlarge, t3.2xlarge, t3.large, t3.medium, t3.micro, t3.small, t3.xlarge"
  2. First observedv0.2.2

TDQS

A4.3/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does disclose the important behavioral facts: on-demand only, Linux only, us-east-1 only, USD currency, and a 730-hour monthly assumption. The remaining gap is edge behavior — what happens for an instance type outside the supported list, or whether pricing is cached/stale.

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 core lookup plus scope stated first and the sibling handoff second. Every clause earns its place.

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?

There is no output schema, but the description compensates by naming the returned fields (vCPUs, memory, hourly USD, monthly USD at 730 hours) and the region/OS/pricing-model limits. For a one-parameter static price lookup, nothing an agent needs in order to call it correctly is missing.

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 already enumerates every supported instance type with an example, so the baseline is 3. The description adds only the constraint context (Linux/on-demand/us-east-1) that frames the value, not new syntax or format guidance.

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 opens with a specific verb and resource ('Look up the on-demand Linux hourly + monthly price for an AWS EC2 instance type') and pins the scope to us-east-1. It also names the sibling it is not (compare_clouds) for multi-cloud work, so an agent can separate it from the Azure/GCP and comparison tools without opening a schema.

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?

It gives an explicit routing rule: multi-cloud comparisons including OCI, Azure, and GCP go to compare_clouds instead. What it does not cover is the near-siblings get_azure_price and get_gcp_price, or when to prefer get_price_history over this point-in-time lookup, so the exclusions stop one step short of complete.

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