Skip to main content
Glama

Quote a machine

quote_compute_instance
Read-onlyIdempotent

Price a virtual machine before creating it. Use when before create_compute_instance (which needs compute write access); the quote lasts 30 minutes. Before: list_compute_flavors and list_compute_images (they need compute read access). Returns a quote (cq_ id) with hourly prices running and stopped and a monthly estimate. Scope: compute:quote. Cost: free. Always quote before creating a machine.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "image": "ubuntu-24.04",
      "flavor": "1vcpu-1gb"
    },
    "name": "quote_compute_instance"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYesOperating system image.
flavorYesMachine size: vCPU and memory (disk included).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description goes well beyond them: quote TTL of 30 minutes, required scope compute:quote, zero cost, and the shape of the result (cq_ id plus running/stopped hourly prices and a monthly estimate). That is exactly the operational context annotations cannot express.

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?

Front-loaded with the purpose, then prerequisites, then return shape, then scope/cost. Nearly every clause earns its place, though 'Use when before create_compute_instance' is grammatically rough and the closing 'Always quote before creating a machine' partly restates the opening sentence.

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?

For a two-parameter read-only pricing tool with no output schema, the description supplies the missing return-value summary, the TTL of the quote, the auth scope, and the cost. An agent has everything needed to decide to call it and to interpret the response.

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 coverage is 100% with enums on both parameters and per-property descriptions, so the schema already carries parameter meaning. The description adds no format or constraint detail about flavor or image beyond what the schema states; the pricing detail it does add concerns the response, not the inputs.

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?

Opens with a specific verb+resource: 'Price a virtual machine before creating it.' It also distinguishes itself from the sibling mutation tool create_compute_instance by naming it explicitly, so an agent knows this is the pre-flight step rather than the creation step.

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

Usage Guidelines5/5

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

Gives explicit sequencing: quote before create_compute_instance, and first call list_compute_flavors and list_compute_images. It even states the access level each prerequisite needs (compute read vs compute write), and closes with the imperative 'Always quote before creating a machine.'

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