Skip to main content
Glama

Electricity bill breakdown

analyze_electricity_bill
Read-onlyIdempotent

Splits an electricity bill into supply, regulated, technical and tax shares and gives the all-in cost per kWh from the amounts the user enters. Use for 'what share of my bill is energy versus distribution and taxes?'. It contains no tariff rates: the user supplies the amounts printed on the bill. TR: Fatura kalemlerinin payı ve birim maliyet; tarife oranı içermez, tutarları kullanıcı girer.

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": {
      "kwh": "<kwh>"
    },
    "name": "analyze_electricity_bill"
  }
}

Input Schema

NameRequiredDescriptionDefault
kwhYesBilled consumption, kWh.
langNoLanguage of the disclaimer and links: tr (default) or en.tr
vat_tlNoVAT, TL.
other_tlNoOther charges, TL.
taxes_tlNoTaxes and funds, TL.
energy_tlNoEnergy (supply) charge, TL.
reactive_tlNoReactive energy charge, TL.
distribution_tlNoDistribution charge, TL.
invoice_total_tlNoInvoice total, TL, to compare with the computed sum.

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 cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds a genuinely useful behavioral boundary: it holds no tariff data, so nothing is looked up and the agent should not invent rates. It also implies the disclaimer/links are localized via the language option, though it does not describe output shape or what happens when the entered amounts do not reconcile.

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 core behavior and the use-case trigger are front-loaded in the first two sentences, with the important 'no tariff rates' caveat immediately after. The trailing Turkish restatement is a product convention but is largely redundant for an English-reading agent, costing a little density.

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?

For a 9-parameter read-only calculator with full schema coverage and no output schema, the description does the essential work: it names what is computed, what the user must provide, and what is deliberately absent. It does not explain how invoice_total_tl is used for reconciliation or what the returned breakdown looks like, which are the remaining gaps.

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 input (kwh, energy_tl, distribution_tl, taxes_tl, vat_tl, other_tl, reactive_tl, invoice_total_tl, lang) is already documented in the schema. The description reinforces that the monetary values come from the user's bill rather than from a rate table, but adds no per-field meaning beyond that; the baseline of 3 is appropriate.

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 states a concrete verb and resource ('Splits an electricity bill') plus the exact outputs ('supply, regulated, technical and tax shares' and 'all-in cost per kWh'). This is clearly distinguishable from siblings such as analyze_reactive_power or analyze_transformer_loading, which target different analyses.

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 in the form of a user question ('what share of my bill is energy versus distribution and taxes?') and a key precondition: the user must supply the amounts printed on the bill because no tariff rates are built in. It stops short of naming when not to use it or pointing to an alternative sibling, so it is clear context without explicit exclusions.

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