Skip to main content
Glama

Reactive power and power factor correction

analyze_reactive_power
Read-onlyIdempotent

From monthly active and reactive energy: inductive and capacitive reactive ratios against the limits, cos φ, the capacitor bank size (kVAr) needed for a target cos φ and an estimated reactive charge range. Use for 'do we exceed the reactive limit and how large a compensation bank do we need?'. Limits used: 20 % inductive, 15 % capacitive of active energy; confirm against the current tariff regulation and the bill. Not a capacitor bank design (harmonics, detuning). TR: Aylık aktif/reaktif enerjiden reaktif oranlar, sınır aşımı, hedef cosφ için kVAr ve tahmini bedel aralığı. Kondansatör grubu tasarımı değildir.

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": {
      "active_kwh": "<active_kwh>",
      "inductive_kvarh": "<inductive_kvarh>"
    },
    "name": "analyze_reactive_power"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the disclaimer and links: tr (default) or en.tr
hoursNoOperating hours in the month (for average active power).
active_kwhYesMonthly active energy, kWh.
unit_price_tlNoReactive unit price from the bill, TL/kVArh; omit to skip the charge estimate.
target_cos_phiNoTarget power factor, 0.8–1.
inductive_kvarhYesMonthly inductive reactive energy, kVArh.
capacitive_kvarhNoMonthly capacitive reactive energy, kVArh.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds non-obvious behavioral context the annotations cannot: the specific 20% inductive / 15% capacitive limits used, that the charge figure is only an 'estimated range', and that the user must confirm limits against current tariff regulation and the bill.

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?

The English text is front-loaded with the computation, then the use case, then the caveat — a sensible order with no filler sentences. The full Turkish restatement (TR: ...) roughly doubles length by repeating already-delivered content, which is the main efficiency cost.

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?

There is no output schema, so the description carries the burden of describing results, and it does so concretely (ratios, cos φ, kVAr, charge range). For a 7-parameter analytical tool the only remaining gap is output shape/formatting detail, which is minor given how specifically the result components are named.

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 every parameter including lang, hours, unit_price_tl and target_cos_phi is already documented, and the baseline is 3. The description ties the computation to active/reactive energy and target cos φ but adds no per-parameter syntax or defaulting detail beyond the schema (e.g. when to omit unit_price_tl).

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?

The description names the exact inputs (monthly active and reactive energy) and enumerates the concrete outputs: inductive/capacitive reactive ratios against limits, cos φ, required capacitor bank size in kVAr, and an estimated reactive charge range. That is specific enough that an agent can distinguish it from analyze_electricity_bill or analyze_transformer_loading without opening any 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?

It gives an explicit trigger question ('do we exceed the reactive limit and how large a compensation bank do we need?') and an explicit exclusion ('Not a capacitor bank design (harmonics, detuning)'), which is real when-to-use/when-not guidance. It stops short of naming a sibling tool as the preferred alternative for the excluded case, so it is not a full 5.

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