Skip to main content
Glama

Power draw of a set of components, and what runs it

calculate_power
Read-onlyIdempotent

[Calculators] Power draw of a set of components, and what runs it. The electricity calculator page's math. total_draw is the summed power; supply says how many of each power source covers it at its best output (needed); batteries gives each battery's runtime_minutes on a full charge, or enough_output: false when the load is above what that battery can deliver.

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

Input Schema

NameRequiredDescriptionDefault
componentsYesComma-separated `shortname:quantity` pairs (display names work too; quantity defaults to 1). Components by shortname or name from /calculators/electricity.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description goes beyond that by describing the result shape: 'total_draw' as summed power, 'supply' with a 'needed' count per source at best output, and per-battery 'runtime_minutes' or 'enough_output: false' when the load exceeds the battery. That is genuine behavioral disclosure not available from annotations or schema.

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 compact sentences: purpose first, then return-value semantics, with no filler. The phrasing 'and what runs it' is slightly informal but it is immediately clarified by the 'total_draw'/'supply' explanation that follows.

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

Completeness4/5

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

With one simple string parameter and no output schema, the main risk is unknown return values, and the description addresses exactly that by naming each output field and its meaning. Annotations cover safety. Only minor gaps remain, such as whether components must exist in a catalog or how unknown shortnames are handled.

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 'components' parameter is already documented with format, examples and defaults in the schema. The description adds nothing about the parameter itself (no unit, ordering or validation detail beyond the schema), so the baseline 3 applies.

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+resource: 'Power draw of a set of components, and what runs it', plus the framing 'The electricity calculator page's math.' This clearly separates it from the other calculate_* siblings (rent, craft cost, damage, smelting) by subject matter. It stops short of naming a sibling it might be confused with, so a 4 rather than 5.

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 by the topic: an agent can infer it is for power-budget questions, and the '/calculators/electricity' reference gives context. There is no explicit when-to-use, no when-not-to-use, and no pointer to an alternative calculator for related questions.

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