Skip to main content
Glama

Answer the Energieberater's question

answer_inquiry

Answers the open question (Rückfrage) about an ordered certificate with the customer's answers: values keyed by the item keys get_status listed, files the question asks for, and an explanation. Ask the customer first and send only what they confirmed.

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": {
      "order_id": "<order_id>",
      "order_token": "<order_token>"
    },
    "name": "answer_inquiry"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesNothe answers, keyed by the item keys get_status listed; numbers with a point, e.g. 2004 or 140.5; dates as YYYY-MM-DD, months as YYYY-MM; a multiselect's option values comma-separated, keine for none; ja or nein
order_idYesthe order_id start_order returned
documentsNofiles the upload items ask for, each with the item it answers
explanationNowhat the customer wants to add or explain, e.g. why a value can't be given; in German
order_tokenYesthe order_token start_order returned; it opens only this order, keep it private

Output Schema

NameRequiredDescriptionDefault
statusYes
orderedYes
deliveryNo
status_textYes
open_inquiryNo
order_numberYes
certificate_readyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / documents / items / properties / kind / description
      Previous value: -"rechnung (energy bill or Heizkostenabrechnung), fassade_strasse (photo of the street side), heizung (photo of the boiler or heat pump), typenschild (photo of its type plate) or sonstiges"New value: +"rechnung (energy bill), fassade_strasse, heizung, typenschild (Verbrauchsausweis), or Bedarfsausweis Hausrundgang/plant photos: fassade (with sector), fenster, dachboden, kellerdecke, heizkoerper, treppenhaus, dach, ofen, solarthermie, pv, pv_leistung, lueftung, klima, zweite_heizung, or sonstiges"
    • addedInput schema / properties / documents / items / properties / sector
      Added value: +{
      +  "description": "only for kind fassade (Bedarfsausweis): compass sector N, NO, O, SO, S, SW, W or NW matching photo_tasks",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / properties / open_inquiry / properties / asked_by / description
      Previous value: -"energieberater or automatische_pruefung"New value: +"energieberater, automatische_pruefung or auftraggeber_nachweise (the customer's own hold for proofs of a modernisation)"
  3. Changed1 schema field changed
    • changedInput schema / properties / documents / items / properties / kind / description
      Previous value: -"rechnung (energy bill or Heizkostenabrechnung), fassade_strasse (photo of the street side), fassade_garten, heizung (photo of the boiler or heat pump), typenschild (photo of its type plate) or sonstiges"New value: +"rechnung (energy bill or Heizkostenabrechnung), fassade_strasse (photo of the street side), heizung (photo of the boiler or heat pump), typenschild (photo of its type plate) or sonstiges"
  4. Changed3 schema fields changed
    • changedInput schema / properties / documents / description
      Previous value: -"files the upload items ask for"New value: +"files the upload items ask for, each with the item it answers"
    • addedInput schema / properties / documents / items / properties / item
      Added value: +{
      +  "description": "the key of the upload item the file answers, as get_status lists it, e.g. consumption.missing; needed where several items ask for the same kind of file",
      +  "type": "string"
      +}
    • changedInput schema / properties / values / description
      Previous value: -"the answers, keyed by the item keys get_status listed; numbers with a point, e.g. 2004 or 140.5"New value: +"the answers, keyed by the item keys get_status listed; numbers with a point, e.g. 2004 or 140.5; dates as YYYY-MM-DD, months as YYYY-MM; a multiselect's option values comma-separated, keine for none; ja or nein"
  5. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare a non-read-only, non-idempotent, non-destructive, closed-world write, so the safety profile is partly covered. The description adds meaningful context beyond that – the customer-confirmation requirement and that the token opens only this order and must be kept private – but says nothing about what happens after submission (whether the question closes, a review is triggered, or a resubmission overwrites prior answers).

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?

One dense sentence, front-loaded with the action and its object, followed by the confirmation constraint. It is packed but nothing is redundant; a short split into two sentences would read slightly better.

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 five-parameter, nested-object mutation with a rich schema and an output schema, the description supplies the key procedural context (confirm with customer, derive keys from get_status, keep the token private). The remaining gap is post-call behavior, which the output schema may partly cover.

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 the schema already documents value formats, document kinds, sectors and the base64 limits. The description only restates the three payload categories (values, files, explanation) without adding format or edge-case meaning, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: answering the open Rückfrage on an ordered certificate with the customer's values, documents and explanation. It is clear what the tool does, but it never distinguishes itself from the sibling add_document, which plausibly overlaps on the documents parameter.

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?

Gives a real workflow rule – ask the customer first and send only what they confirmed – and ties the values/documents payload back to the item keys get_status listed, implying get_status precedes this call. It stops short of stating when not to use it (e.g. for files unrelated to an open question, which presumably go through add_document).

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