Skip to main content
Glama

find_ec2_instances

Returns EC2 instances matching the supplied criteria (region, platform, tenancy, pricing model, min vCPU/RAM/GPU, processor, family/size, max price), ranked by price, from the CloudFix EC2 pricing snapshot. Use to find the cheapest instance meeting a specification. Returns an empty list for an uncovered region.

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": {
      "region": "<region>"
    },
    "name": "find_ec2_instances"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1-based (default 1)
sizeNoExact instance size, e.g. "2xlarge"
familyNoExact instance family, e.g. "m5"
regionYesAWS region, e.g. "us-east-1"
min_gpuNoMinimum GPU count
min_ramNoMinimum RAM in GB
sort_byNoSort key (default "price")
tenancyNoInstance tenancy (default "Shared")
min_vcpuNoMinimum vCPU count
platformNoOperating system platform (default "Linux/UNIX")
page_sizeNoResults per page (default 50, max 100)
processorNoCase-insensitive substring of the physical processor, e.g. "Graviton"
sort_orderNoSort direction (default "ASC")
pricing_modelNoPricing model (default "On Demand")
max_price_per_hourNoMaximum hourly price

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does add real value: the data source is a CloudFix pricing snapshot (implying potentially stale prices), results are ranked by price, and uncovered regions yield an empty list. It omits whether multiple filters combine as AND, what the pagination envelope looks like, and any auth or rate-limit characteristics.

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?

Two sentences, front-loaded with the return behavior and followed by the use case, with no filler. The long parenthetical criteria list is mildly redundant with the schema but serves as a quick scannable summary.

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

Completeness3/5

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

For a 15-parameter tool with no output schema, the description covers the input side adequately but gives only a hint of the return shape ('instances ... ranked by price') without saying what fields each instance carries or how paging metadata is returned. It is serviceable but leaves meaningful gaps for an agent planning a call.

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% across all 15 parameters, so the schema already documents each filter, its type, enum values, and defaults. The description's parenthetical enumeration of criteria largely restates the schema and adds no format or interaction detail (e.g. how family and size interact, or how sort_by relates to the default price ranking).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Returns EC2 instances') plus the filtering dimensions and the sort order, so the agent knows this is a filtered search over a pricing snapshot. It also distinguishes itself implicitly from get_ec2_price by emphasizing criteria matching and 'cheapest instance meeting a specification', though it never names the sibling explicitly.

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?

'Use to find the cheapest instance meeting a specification' gives a concrete triggering scenario, and the note about returning an empty list for an uncovered region sets an expectation for failure cases. It stops short of naming an alternative tool or stating when not to use it versus get_ec2_price.

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.

Resources