Skip to main content
Glama

science.battery_capacity

Read-onlyIdempotent

Convert battery capacity between Ah and Wh using voltage to compare or size battery packs accurately; supports decimal inputs without rounding.

Instructions

배터리 용량을 Ah와 Wh 사이에서 변환한다. Wh = Ah * V, Ah = Wh / V. mode='ah_to_wh'(기본) 또는 'wh_to_ah', value는 0 이상, voltage는 양수(V)이며 Decimal 문자열이다. 나눗셈은 반올림하지 않는다. 직렬이나 병렬 구성 용량은 계산하지 않으므로 팩 전체 전압과 용량을 쌍으로 넣어야 한다.

Input Schema

NameRequiredDescriptionDefault
modeNoah_to_wh
valueYes
voltageYes

Output Schema

NameRequiredDescriptionDefault
unitYes
_metaNo서버가 붙이는 영수증(integrity), 엔진, 힌트
traceYes계산 근거(tool, formula, inputs, steps, output)
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/closed-world, so the safety profile is covered. The description adds real behavioral context beyond that: division is not rounded, inputs must be Decimal strings, and the pack-configuration caveat tells the agent what the tool refuses to compute.

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?

Purpose and formulas come first, then mode/validation, then the caveat. Four dense sentences with no filler or repetition.

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 an output schema present, return values need no explanation, and the description covers modes, input constraints, and precision behavior. Slightly short of complete because the semantics of value per mode could be stated explicitly.

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?

Schema coverage is 0%, so the description carries the full burden and largely meets it: mode names both allowed values plus the default, value is constrained to >= 0, and voltage is defined as a positive Decimal string in volts. Minor gap: the unit of value (Ah vs Wh) is only implied by mode rather than stated.

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?

Names a specific verb+resource ('배터리 용량을 Ah와 Wh 사이에서 변환') and immediately supplies the governing formulas, so the agent can distinguish it from generic conversion siblings like units.energy_convert or engineering.electrical_power.

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?

Explicitly lists the two modes and the default, and adds a clear exclusion: series/parallel pack capacity is not computed, so the whole-pack voltage and capacity must be supplied as a pair. It stops short of naming a sibling alternative, which keeps it from a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools