Skip to main content
Glama

calculate_energy_savings

Compare Italian electricity or gas tariffs and calculate annual savings. Returns top 3 offers with pre-filled activation form on switchai.it.

Instructions

Confronta le tariffe Luce o Gas e calcola il risparmio annuo. Restituisce le 3 migliori offerte con link di attivazione su switchai.it (sito esterno). FLUSSO: (1) Estrai nome, cognome, CF, email, telefono, indirizzo, consumi e spesa dalla bolletta. (2) Passa i dati numerici (consumi, spesa, zona) + TUTTI i dati personali che hai estratto a questo tool. (3) Il link 'Attiva' apre switchai.it in una nuova scheda con il form PRE-COMPILATO. (4) AVVISA SEMPRE l'utente che: (a) il link apre un sito esterno (switchai.it), (b) dovrà verificare i dati e cliccare Invia, (c) riceverà una email di conferma e dovrà cliccarla per completare — SOLO dopo la conferma i dati vengono inoltrati al fornitore. (5) Il GDPR double opt-in è OBBLIGATORIO: NON dire 'ho attivato' o 'tutto fatto'. Di' 'il form è precompilato, controlla i dati e invia'. (6) NON attivare mai senza che l'utente abbia letto e accettato esplicitamente.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commodityYesTipo di fornitura: LUCE (elettricità) o GAS
yearly_consumption_kwhNoConsumo annuo in kWh (solo per LUCE). Es: 2700
yearly_consumption_smcNoConsumo annuo in Smc (solo per GAS). Es: 1000
zoneNoZona tariffaria italianaNORD
current_supplierNoNome del fornitore attuale (es: 'Enel Energia')
current_annual_spendNoSpesa annua attuale in €. Es: 650
nomeNo(Opzionale) Nome intestatario per precompilare il form
cognomeNo(Opzionale) Cognome per precompilare il form
cfNo(Opzionale) Codice Fiscale per precompilare il form
emailNo(Opzionale) Email per precompilare il form
telNo(Opzionale) Telefono per precompilare il form
indirizzoNo(Opzionale) Via/Piazza per precompilare il form
civicoNo(Opzionale) Numero civico
cittaNo(Opzionale) Città
provincia_siglaNo(Opzionale) Sigla provincia (es: MI)
capNo(Opzionale) CAP (5 cifre)
podNo(Opzionale) Codice POD per Luce
pdrNo(Opzionale) Codice PDR per Gas
consumiNo(Opzionale) Consumo annuo per prefill
spesaNo(Opzionale) Spesa annua per prefill
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It transparently describes that the tool opens an external site (switchai.it), pre-fills a form, and requires user verification and double opt-in. It also states that the tool does NOT finalize the activation without user confirmation.

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 description is lengthy but well-structured with numbered steps (FLUSSO). Each sentence serves a purpose, explaining the workflow and GDPR requirements. It could be slightly more concise, but the detail is justified given the complexity.

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?

Despite no output schema, the description explains the return value concept (3 best offers with activation links). It covers the entire flow, including external site behavior and user communication. The only minor gap is the lack of explicit details on the exact response format.

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?

With 100% schema description coverage, the parameter semantics are already well-documented. The description adds value by explicitly stating that personal data fields are used to pre-fill the form and that the tool requires all extracted data. This contextual information goes 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?

The description clearly states the tool compares Luce or Gas tariffs and calculates annual savings, returning the best 3 offers with activation links. This distinguishes it from siblings like parse_energy_bill (extraction) and get_available_offers (list offers).

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?

The description provides a detailed step-by-step flow (FLUSSO) explaining exactly when to use this tool: after extracting data from a bill. It instructs to pass all extracted personal data and warns about GDPR consent. However, it does not explicitly state when not to use it or compare to alternative tools.

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/US1929/switchai'

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