Skip to main content
Glama

Center AI Vision GPU cloud

Add time to a machine

extend_machine

Adds hours to a running machine at the price it started at. The cost, hours × its price per hour, is taken from the prepaid balance.

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": {
      "orderId": "<orderId>",
      "hours": "<hours>"
    },
    "name": "extend_machine"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursYes
orderIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: the hourly rate is frozen at the original price, the charge formula is hours × rate, and funds come from the prepaid balance. That meaningfully informs the agent of the financial side effect of a non-idempotent, open-world mutation. It stops short of saying what happens when the balance is insufficient or what the call returns.

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 short sentences, zero filler, and the primary action plus its cost consequence are front-loaded. Nothing could be removed without losing information.

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?

A prepaid-balance mutation needs more disclosure: whether the machine must be running, what happens on insufficient funds, and whether repeated calls stack additional hours. The annotations cover safety hints and the description covers pricing, but failure behavior is missing and there is no output schema to fill the gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning. It ties 'hours' to the cost calculation, but never explains that 'orderId' identifies which running machine/order to extend, and it omits the schema's 1–24 hour bound and UUID format expectations.

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 ('Adds hours to a running machine') plus a key qualifier (price locked at the original rate). It does not name or contrast with any sibling, but the action is unambiguous enough that an agent won't confuse it with stop_machine or start_gpu.

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?

Usage is only implied: the machine must be 'running', and the cost is taken from a prepaid balance, which hints at prerequisites. There is no explicit when-to-use versus an alternative (e.g. starting a new machine) and no stated exclusions or conditions for failure.

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