Skip to main content
Glama

Commerce for Agents

Submit Energy Switch Request

submit-switch-request
DestructiveIdempotent

Files a concierge switch request for an offer from a comparison: contract data, IBAN and the consents in one call. In ChatGPT the booking form inside the tariff card calls this; autonomous MCP clients that hold the user's complete data and authorization call it directly. Stores the request encrypted, sends the confirmation emails, returns only masked data. An operator later submits the contract application to the provider.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refYesOffer reference from a compare-tariffs result (field `ref`).
ibanYesIBAN as entered in the form; spaces allowed.
emailYesEmail address — receives the booking confirmation and provider documents.
phoneNoPhone number (optional, some providers ask for it).
streetYesStreet of the supply address (Straße).
languageNoLanguage of the conversation — used for the confirmation email. Default: "de".
lastNameYesLast name (Nachname).
birthDateYesDate of birth, ISO format YYYY-MM-DD. Energy providers require it for the contract.
firstNameYesFirst name (Vorname).
moveInDateNoMove-in date (Umzugsdatum), ISO YYYY-MM-DD. Required for switchType "relocation", ignored for a switch.
salutationYesSalutation (Anrede), required by the providers: "herr", "frau" or "divers".
switchTypeYes"switch": changing provider at the current address (Anbieterwechsel). "relocation": moving in / first contract at this address (Umzug/Neueinzug).
houseNumberYesHouse number (Hausnummer), e.g. "12a".
meterNumberNoMeter number (Zählernummer, optional — printed on the meter or the last bill).
accountHolderNoAccount holder if different from the contract holder.
authorizationYesThe three consents the user gave in the form, with the wording versions shown to them.
idempotencyKeyYesRandom per form instance. A retry with the same key returns the first result instead of filing twice.
desiredStartDateNoDesired contract start, ISO YYYY-MM-DD. Omit for the next possible date.
previousProviderNoCurrent/previous energy provider. Required for switchType "switch".
previousCustomerNumberNoCustomer number at the previous provider (Kundennummer, optional but speeds up the switch).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
tariffYes
providerYes
nextStepsYes
requestIdYes
maskedIbanYes
annualTotalEurYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / context
      Removed value: -{
      -  "description": "Why are you calling this tool? Briefly describe the user's goal.",
      -  "type": "string"
      -}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations, the description adds concrete side effects: encrypted storage, confirmation emails, masked return data, and the fact that an operator later handles the provider submission. It does not contradict the annotations and does not need to restate destructive/idempotent hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences with no filler: action first, then caller context, then side effects, then downstream workflow. Every sentence earns its place and the most important distinction is front-loaded.

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 complex 20-parameter tool with a nested authorization object, the description covers the high-level workflow, caller eligibility, side effects, and eventual outcome. It leaves switchType specifics, idempotency behavior, and return details to the rich schema and output schema, which is acceptable.

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 coverage is 100%, so the baseline is 3. The description groups parameters conceptually ('contract data, IBAN and the consents') but adds no semantic detail beyond what the schema already documents.

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 first sentence names a specific verb ('Files') and a specific resource ('concierge switch request for an offer from a comparison'). The closing sentence, 'An operator later submits the contract application to the provider,' distinguishes this from direct booking/contract-submission siblings.

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 explicitly names two callers and conditions: the ChatGPT booking form calls this, and autonomous MCP clients holding complete user data and authorization call it directly. It does not explicitly name alternatives or state when not to use it, so it falls short of a 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