Skip to main content
Glama
YUZU-Hub

wiring-diagram-mcp

by YUZU-Hub

Cable Cross-Section & Resistance Calculator

calculate_wire_gauge

Calculates recommended wire gauge for DC circuits based on ampacity and voltage drop, returning optimal cable size, resistance, power loss, and fuse recommendation.

Instructions

Calculate the recommended wire gauge / cable cross-section for a DC circuit. Considers both ampacity (current carrying capacity) and voltage drop to recommend the optimal cable size. Also returns total resistance, power loss, and a fuse recommendation. Supports copper conductors from 0.75 mm² (18 AWG) to 240 mm² (300 MCM).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
voltageYesSystem voltage in volts (e.g. 12, 24, 48)
currentNoLoad current in amps. Provide either current or power.
powerNoLoad power in watts. Will be converted to current using the voltage. Provide either current or power.
cableLengthMYesOne-way cable length in meters
maxVoltageDropPercentNoMaximum acceptable voltage drop in percent (default: 3%)
temperatureCelsiusNoAmbient temperature in °C (default: 20°C). Affects copper resistance.
isRoundTripNoAccount for both positive and negative conductor (default: true). Set to false for chassis-ground returns.
Behavior4/5

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

Discloses key behavioral traits: considers ampacity and voltage drop, returns resistance, power loss, and fuse recommendation. No annotations provided, so description carries the burden and does so adequately, though a note that it is read-only could be implied.

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?

Three sentences, no wasted words. First sentence captures the primary purpose, subsequent sentences add key details without extraneous information.

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?

No output schema, but the description lists what the tool returns (recommended gauge, resistance, power loss, fuse recommendation). It also states the conductor range. This is sufficient for a utility tool, though a bit more detail on the output format could help.

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 description coverage is 100%, so baseline is 3. The description adds value by explaining that it supports copper conductors from 0.75 mm² to 240 mm² and mentions the dual input of current or power, which enhances understanding beyond the schema.

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?

Clearly states the tool calculates recommended wire gauge/cable cross-section for DC circuits, specifying the resource and verb. Differentiates from sibling tools that focus on batteries, solar, inverters, etc.

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?

Describes the context for usage (DC circuits, ampacity and voltage drop considerations). No explicit exclusion or alternative guidance, but the context is clear enough for an AI agent to infer appropriate use cases.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/YUZU-Hub/wiring-diagram-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server