Skip to main content
Glama

Estimate supply current

power_budget
Read-onlyIdempotent

Typical and peak supply current of a board plus its modules (servos, LED strips, displays, radios...), compared with what USB and the board's 3.3 V regulator can give, with advice (no AI).

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": {
      "board": "<board>",
      "modules": "<modules>"
    },
    "name": "power_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
boardYesboard id from search_parts
modulesYes

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 cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's job is to add context. It does: it discloses the two figures produced (typical and peak), the two supply limits used for comparison, and the notable fact that the advice is rule-based ('no AI'), which tells the agent the output is deterministic and repeatable. It does not mention modeling assumptions or approximation caveats, keeping it below 5.

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?

A single densely-packed sentence that front-loads what is computed and follows with the comparison and the determinism note. The parenthetical example list is the only slightly expendable element, but it earns its place by anchoring the module concept.

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?

For a two-parameter, read-only estimator with no output schema, the description covers what is computed, what it is compared against, and the nature of the returned advice. What is missing is the shape of the advice, the units of the current figures, and which supply is preferred when both are present.

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?

With only 50% schema description coverage, the schema documents the board id and module type but leaves parameters like count and the nesting limits (40 items, max 100 count, max 1000 LEDs) unexplained. The description's module examples hint at why a module needs an LED count, but it adds no syntax, defaults, or meaning for count, so it only partially compensates.

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?

The description names a specific computation (typical and peak supply current of a board plus its modules) and the comparison it performs (USB vs. the board's 3.3 V regulator). Parenthetical module examples (servos, LED strips, displays, radios) further pin down the scope. It does not explicitly distinguish itself from check_wiring, which is the nearest sibling, so it stops short of a 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?

The use case is implied — an agent can infer you call this when you need to know whether the power supply suffices — but there is no explicit 'use this when' statement, no prerequisites, and no named alternative such as check_wiring or search_parts for obtaining board/module ids. Guidance is inferable rather than stated.

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