Skip to main content
Glama

Machine usage

get_compute_usage
Read-onlyIdempotent

Minutes and amounts of the virtual machines this month. Use when checking what the machines cost this month. Before: nothing. Returns per machine: vCPU, memory and disk minutes, outbound bytes and amount in micro-USD. Scope: compute:usage. Cost: free.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world behavior, so the description adds the non-obvious operational facts: the required scope compute:usage and that calls are free. It does not describe pagination or whether amounts are estimates vs. finalized, which is the only remaining gap.

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?

Four short sentences, front-loaded with the resource and time window, then precondition, return fields, scope and cost. The telegraphic labels ("Before: nothing.", "Cost: free.") are compact though slightly terse in style.

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?

With no parameters and no output schema, the description carries the full burden of describing results, and it does: vCPU, memory and disk minutes, outbound bytes, and amount in micro-USD, plus the permission scope. 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes no parameters, so the baseline is 4; "Before: nothing" reinforces that no inputs are required and no prerequisite lookup is needed.

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 resource and time window: virtual machine minutes and amounts for this month, plus the returned per-machine fields. It is clear what data comes back, but it never distinguishes itself from related siblings like get_costs or get_storage_usage, leaving overlap to inference.

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 when checking what the machines cost this month" gives a concrete trigger, and "Before: nothing" explicitly rules out prerequisites. It stops short of naming when a different tool (e.g., a general cost tool) is the better choice.

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