{"serverId":"mcp-registry/io.github.yuzu-hub/wiring-diagram-mcp","tools":[{"name":"calculate_battery_bank","fixed":{"name":"calculate_battery_bank","description":"Calculate the recommended battery bank size based on daily energy consumption. Accounts for days of autonomy (how many days without charging) and depth of discharge. Returns required capacity, number of batteries, and wiring configuration.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["dailyConsumptionWh","systemVoltage","singleBatteryAh","singleBatteryVoltage"],"properties":{"systemVoltage":{"type":"number","description":"Target system voltage in volts (e.g. 12, 24, 48)"},"daysOfAutonomy":{"type":"number","default":2,"description":"Days the system should run without any charging (default: 2)"},"singleBatteryAh":{"type":"number","description":"Capacity of a single battery in amp-hours (e.g. 100, 200)"},"dailyConsumptionWh":{"type":"number","description":"Daily energy consumption in watt-hours (from calculate_power_budget)"},"singleBatteryVoltage":{"type":"number","description":"Voltage of a single battery (e.g. 12.8 for LiFePO4, 12 for lead-acid)"},"depthOfDischargePercent":{"type":"number","default":80,"description":"Usable percentage of battery capacity. LiFePO4: 80-90%, AGM: 50%, Gel: 50% (default: 80)"}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Battery Bank Sizing Calculator"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":349,"tokensAfter":349},{"name":"calculate_battery_config","fixed":{"name":"calculate_battery_config","description":"Determine how to arrange batteries in series and/or parallel to achieve a target voltage and capacity. Returns the number of batteries needed, the wiring configuration (e.g. 2S3P), and step-by-step wiring instructions.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["targetVoltage","targetCapacityAh","singleBatteryVoltage","singleBatteryAh"],"properties":{"targetVoltage":{"type":"number","description":"Desired system voltage (e.g. 12, 24, 48)"},"singleBatteryAh":{"type":"number","description":"Capacity of one battery in amp-hours"},"targetCapacityAh":{"type":"number","description":"Desired total capacity in amp-hours"},"singleBatteryVoltage":{"type":"number","description":"Nominal voltage of one battery (e.g. 12.8 for LiFePO4, 12 for lead-acid, 3.2 for LiFePO4 cells)"}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Battery Configuration Calculator"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":253,"tokensAfter":253},{"name":"calculate_charging_time","fixed":{"name":"calculate_charging_time","description":"Estimate how long it takes to charge a battery bank from a given state of charge to a target level. Accounts for the bulk charging phase (constant current, up to ~80% SoC) and the slower absorption phase (tapering current, 80-100% SoC). Works for any charging source: solar, shore power, alternator.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["batteryCapacityAh","batteryVoltage","currentStateOfChargePercent","chargePowerWatts"],"properties":{"batteryVoltage":{"type":"number","description":"Battery bank voltage (e.g. 12, 24, 48)"},"chargePowerWatts":{"type":"number","description":"Charger output power in watts"},"batteryCapacityAh":{"type":"number","description":"Total battery bank capacity in amp-hours"},"chargeCurrentAmps":{"type":"number","description":"Maximum charge current in amps (if limited by the charger or battery BMS). If omitted, calculated from power and voltage."},"targetStateOfChargePercent":{"type":"number","default":100,"description":"Target state of charge in percent (default: 100)"},"currentStateOfChargePercent":{"type":"number","description":"Current state of charge in percent (e.g. 20 for 20%)"}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Charging Time Calculator"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":352,"tokensAfter":352},{"name":"calculate_inverter_size","fixed":{"name":"calculate_inverter_size","description":"Calculate the recommended inverter size for running AC loads from a DC battery system. Accounts for continuous power, startup surge power (motors typically surge 2-3x), and includes a 25% headroom for the continuous rating. Returns the recommended inverter wattage and the DC current draw at system voltage.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["systemVoltage","loads"],"properties":{"loads":{"type":"array","items":{"type":"object","required":["name","continuousWatts"],"properties":{"name":{"type":"string","description":"Name of the AC load (e.g. \"Microwave\", \"Coffee Machine\")"},"quantity":{"type":"number","default":1,"description":"Number of identical units (default: 1)"},"surgeWatts":{"type":"number","description":"Startup surge power in watts (for motors, compressors). If omitted, assumed equal to continuous watts."},"continuousWatts":{"type":"number","description":"Continuous power draw in watts"}},"additionalProperties":false},"description":"List of AC loads that will run through the inverter"},"systemVoltage":{"type":"number","description":"DC system voltage (e.g. 12, 24, 48)"}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Inverter Sizing Calculator"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":345,"tokensAfter":345},{"name":"calculate_power_budget","fixed":{"name":"calculate_power_budget","description":"Calculate total daily energy consumption from a list of electrical loads. Each load specifies its power draw, how many hours per day it runs, and quantity. Returns total daily energy (Wh and Ah), peak power draw, and average power. This is typically the first step in sizing a battery bank and solar system.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["systemVoltage","loads"],"properties":{"loads":{"type":"array","items":{"type":"object","required":["name","powerWatts","hoursPerDay"],"properties":{"name":{"type":"string","description":"Name of the load (e.g. \"LED Lights\")"},"quantity":{"type":"number","default":1,"description":"Number of identical units (default: 1)"},"powerWatts":{"type":"number","description":"Power consumption of a single unit in watts"},"hoursPerDay":{"type":"number","description":"Average hours of use per day"}},"additionalProperties":false},"description":"List of electrical loads to include in the budget"},"systemVoltage":{"type":"number","description":"System voltage in volts (e.g. 12, 24, 48)"}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Power Budget / Energy Audit"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":324,"tokensAfter":324},{"name":"calculate_solar_size","fixed":{"name":"calculate_solar_size","description":"Calculate the required solar panel wattage to cover daily energy consumption. Accounts for peak sun hours at the location and system efficiency losses (MPPT conversion, wiring, temperature derating). Returns required wattage and common panel configurations.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["dailyConsumptionWh","peakSunHours"],"properties":{"peakSunHours":{"type":"number","description":"Average daily peak sun hours for the location. Examples: Northern Europe winter 1-2h, summer 4-6h. Southern US 5-6h. Equatorial regions 5-7h."},"systemEfficiency":{"type":"number","default":0.85,"description":"Overall system efficiency factor (default: 0.85). Accounts for MPPT losses, wiring losses, temperature derating, and panel soiling."},"dailyConsumptionWh":{"type":"number","description":"Daily energy consumption in watt-hours (from calculate_power_budget)"}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Solar Panel Sizing Calculator"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":277,"tokensAfter":277},{"name":"calculate_wire_gauge","fixed":{"name":"calculate_wire_gauge","description":"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).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["voltage","cableLengthM"],"properties":{"power":{"type":"number","description":"Load power in watts. Will be converted to current using the voltage. Provide either current or power."},"current":{"type":"number","description":"Load current in amps. Provide either current or power."},"voltage":{"type":"number","description":"System voltage in volts (e.g. 12, 24, 48)"},"isRoundTrip":{"type":"boolean","default":true,"description":"Account for both positive and negative conductor (default: true). Set to false for chassis-ground returns."},"cableLengthM":{"type":"number","description":"One-way cable length in meters"},"temperatureCelsius":{"type":"number","default":20,"description":"Ambient temperature in °C (default: 20°C). Affects copper resistance."},"maxVoltageDropPercent":{"type":"number","default":3,"description":"Maximum acceptable voltage drop in percent (default: 3%)"}},"additionalProperties":false},"annotations":{"readOnlyHint":true},"title":"Cable Cross-Section & Resistance Calculator"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":385,"tokensAfter":385},{"name":"list_component_types","fixed":{"name":"list_component_types","description":"List all available component types and example configurations for building wiring diagrams. Use this to understand what parameters are needed before calling generate_wiring_diagram.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true},"title":"List Component Types"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":77,"tokensAfter":77}],"toolsChanged":8,"tokensSaved":0,"todo":[],"note":"Deterministic fixes. Changes marked verify need a human look before shipping (renames, inferred annotations, inferred types, removed text). Parameter descriptions in `todo` need to be written by someone who knows the API."}