Skip to main content
Glama

Huiyao Capacity Calculator

Calculate Battery Line Capacity

calculate_battery_line_capacity
Read-onlyIdempotent

Estimate theoretical and OEE-adjusted annual battery-cell and energy output from line throughput, schedule, OEE, nominal cell voltage, and nominal cell capacity. Use for early production-line sizing and scenario checks; results are engineering estimates, not guaranteed output.

Input Schema

NameRequiredDescriptionDefault
oee_percentYesOverall equipment effectiveness as a percentage from 0 to 100.
cell_voltage_vYesNominal voltage of one cell in volts.
shifts_per_dayYesNumber of scheduled production shifts per day.
hours_per_shiftYesScheduled hours in each shift.
cell_capacity_ahYesNominal capacity of one cell in ampere-hours.
operating_days_per_yearYesScheduled operating days per year.
throughput_cells_per_minuteYesSteady-state cell throughput in cells per minute.

Output Schema

NameRequiredDescriptionDefault
linksYes
inputsYes
formulaYes
run_timeYes
assumptionsYes
cell_outputYes
energy_outputYes
formula_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/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), so the bar is lower. The description adds genuine context beyond them by warning that results are engineering estimates, not guaranteed output — an important reliability caveat for downstream decisions.

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 sentences, front-loaded with the computation and its outputs, followed by the usage scope and caveat. Every clause earns its place with no redundancy.

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?

For a seven-parameter deterministic calculator with an output schema and full annotation coverage, the description supplies purpose, scope, and the estimate-reliability caveat. Return values need not be explained since an output schema exists.

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%, so the schema fully documents all seven parameters with ranges and units, making 3 the baseline. The description names the conceptual inputs but adds no unit, range, or format detail beyond what the schema already provides.

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?

States a specific verb (Estimate) and the exact outputs (theoretical and OEE-adjusted annual cell and energy output) plus the input drivers (throughput, schedule, OEE, voltage, capacity). An agent knows precisely what computation this performs without opening the schema.

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 scopes use to early production-line sizing and scenario checks. No alternatives exist (no siblings), so the absence of exclusions costs little; the intended context is clear.

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