Skip to main content
Glama

Energy Tariff Details

tariff-details
Read-onlyIdempotent

Returns the full conditions of one tariff from a compare-tariffs result, identified by its ref: price composition, scope of the price guarantee, contract duration, renewal and cancellation terms, deposit, energy-source mix, customer ratings, and for eco tariffs the required eco statement and proof. Texts come in the requested language. Keywords: Tarifdetails, Vertragsbedingungen, Preisgarantie, Kündigungsfrist, Vertragslaufzeit, AGB, tariff conditions, contract details.

Input Schema

NameRequiredDescriptionDefault
refYesOffer reference from a compare-tariffs result (field `ref`).
languageNoLanguage of the conversation (for the eco statement and proof texts). Default: the language of the compare-tariffs result the ref comes from.

Output Schema

NameRequiredDescriptionDefault
ecoNo
refYes
tariffYes
remarksNo
contractYes
providerYes
energyTypeYes
costBreakdownYes
energySourcesNo
annualTotalEurYes
customerRatingsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / language / description
      Previous value: -"Language of the conversation (for the eco statement and proof texts). Default: de."New value: +"Language of the conversation (for the eco statement and proof texts). Default: the language of the compare-tariffs result the ref comes from."
  2. Changed2 schema fields changed
    • changedOutput schema / properties / eco / properties / proof / description
      Previous value: -"Proof text that belongs to the marker (guarantees of origin, or the biogas/hydrogen shares). Quote verbatim."New value: +"Proof text that belongs to the marker (guarantees of origin, or the biogas/hydrogen shares). Legally required wording (EmpCo): quote verbatim."
    • changedOutput schema / properties / eco / properties / statement / description
      Previous value: -"Marker text, in the request language. Quote verbatim."New value: +"Marker text in the request language. Legally required wording (EmpCo): quote verbatim."
  3. Changed2 schema fields changed
    • removedInput schema / properties / context
      Removed value: -{
      -  "description": "Why are you calling this tool? Briefly describe the user's goal.",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "ref",
      -  "context"
      -]New value: +[
      +  "ref"
      +]
  4. 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 readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered structurally. The description adds real context beyond that: it names the returned content categories (price composition, price-guarantee scope, renewal/cancellation terms, deposit, energy mix, ratings) and flags the eco-tariff special case. It does not discuss rate limits or error behavior, so not a 5.

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 purpose and scope are front-loaded in the first clause, and the field enumeration is compact. The trailing keyword block (German and English synonyms) is padding for search matching rather than agent guidance, which costs it a point.

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?

An output schema exists, so return values need not be explained, yet the description still summarizes them; combined with full annotation and parameter coverage, an agent has what it needs to call it correctly. Only minor routing detail (when not to call it, or how it pairs with book-contract/start-booking) is absent.

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?

With 100% schema description coverage, the schema already documents both `ref` (pattern, origin) and `language` (enum, default). The description's note that "texts come in the requested language" loosely reinforces the schema's narrower statement that language applies to the eco statement/proof texts – marginal added value, so the baseline 3 applies.

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?

States a specific verb and resource ("Returns the full conditions of one tariff") and pins the source ("from a compare-tariffs result, identified by its ref"), which cleanly separates it from the sibling compare-tariffs lister. It even enumerates the condition categories returned, so an agent knows exactly what this yields.

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 makes the workflow dependency explicit: the ref must come from a compare-tariffs result, which tells the agent when this tool is callable. It gives no explicit exclusions or routing between further siblings (e.g., book-contract vs. tariff-details), so it stops just short of full when/when-not guidance.

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