Skip to main content
Glama

Świadectwo Energetyczne 24

Utwórz zamówienie świadectwa

create_certificate_order
Idempotent

Tworzy zamówienie świadectwa charakterystyki energetycznej. NIE musisz mieć wszystkich danych — podaj, co już wiesz; odpowiedź zawiera brakujące pola i pytanie, które zadać jako następne. Zwrócony access_token jest jedynym kluczem do tego zamówienia: zapamiętaj go i przekazuj do pozostałych narzędzi. Zamówienie nie jest opłacone dopóki użytkownik nie przejdzie przez link z get_payment_link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doorsNoTylko dla `dom`: drzwi zewnętrzne i bramy w ogrzewanej bryle.
fieldsNoPola specyficzne dla typu nieruchomości, w formie ścieżka → wartość.
addressNoAdres nieruchomości.
optionsNoPłatne dodatki: express_24h (Express 8H – 8 godzin roboczych; nazwa pola historyczna), paper_version.
windowsNoTylko dla `dom`: wymiary okien. Jednakowe okna podaje się raz z liczbą sztuk.
customerNoDane kontaktowe klienta.
propertyNoPodstawowe parametry: powierzchnia użytkowa, wysokość pomieszczeń, rok oddania do użytkowania.
property_typeYesTyp nieruchomości. mieszkanie = apartment, dom = house, lokal-uzytkowy = commercial unit.
idempotency_keyNoDowolny stały identyfikator tej próby zamówienia. Ponowne wywołanie z tym samym kluczem zwraca istniejące zamówienie zamiast tworzyć duplikat. Ustawiaj zawsze.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / doors / items / properties / material / enum
      Previous value: -[
      -  "Drewniane",
      -  "Stalowe",
      -  "PVC",
      -  "Aluminiowe",
      -  "Nie wiem"
      -]New value: +[
      +  "Stalowe",
      +  "Aluminiowe",
      +  "PVC",
      +  "Drewniane",
      +  "Nie wiem"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / options / description
      Previous value: -"Płatne dodatki: express_24h, paper_version."New value: +"Płatne dodatki: express_24h (Express 8H – 8 godzin roboczych; nazwa pola historyczna), paper_version."
    • addedInput schema / properties / options / properties / express_24h / description
      Added value: +"Dodatek Express 8H – realizacja w 8 godzin roboczych (nazwa pola historyczna)."
  3. Changed2 schema fields changed
    • changedInput schema / properties / property_type / description
      Previous value: -"Typ nieruchomości. mieszkanie = apartment, dom = house, lokal-uzytkowy = commercial unit, garaz = garage."New value: +"Typ nieruchomości. mieszkanie = apartment, dom = house, lokal-uzytkowy = commercial unit."
    • changedInput schema / properties / property_type / enum
      Previous value: -[
      -  "mieszkanie",
      -  "dom",
      -  "lokal-uzytkowy",
      -  "garaz"
      -]New value: +[
      +  "mieszkanie",
      +  "dom",
      +  "lokal-uzytkowy"
      +]
  4. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations include idempotentHint=true)Skip, which is consistent with the description's idempotency_key guidance. The description adds context about the access_token being essential, that the order is not paid until a link is used, and that it doesn't require all data. However, it doesn't mention error handling or rate limits, but the idempotency and partial-data behavior are well disclosed beyond annotations.

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 a single, well-structured paragraph in Polish with clear sentences. It front-loads the purpose and then provides key behavioral notes. It's concise but not overly terse, using bold for emphasis on critical points (access_token). It earns its place without unnecessary details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex tool with 9 parameters and nested objects, the description covers the main operational aspects: creation, partial data acceptance, response containing missing fields, access_token handling, and payment status. With no output schema, the description compensates well by telling the agent what to expect in response. It also hints at integration with sibling tools like get_payment_link.

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?

Schema coverage is 100%, so most parameters are already described. The description adds crucial semantics for the 'fields' parameter: it explains the path-value format from get_certificate_order_requirements and warns about exact enum usage. It also clarifies the idempotency_key usage, which is essential for correct invocation. This adds value beyond the schema descriptions.

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 that it creates an energy performance certificate order, and distinguishes it from siblings like get_certificate_order (which retrieves) and update_certificate_order (which modifies). It also mentions not all data is needed, which sets it apart from a full-form submission tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly tells when to use it: 'podaj, co już wiesz' (provide what you know) and indicates that it returns missing fields and next questions. It also mentions that access_token should be passed to other tools, implying it's a prerequisite for follow-up operations. It signals that the order is not paid until a payment link is used, guiding the agent's next steps.

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