Skip to main content
Glama

GELATO.cz

Add delivery address

create_delivery_address

Create a delivery address (place of business) for this customer — required once before the first order, exactly as the web shop asks right after registration. Minimum: city, zip, house number, a contact surname and a phone for the carrier; street may be empty in villages without street names. Leave the address fields empty to deliver to the registered company address from ARES (city, zip, street and house number are then copied from the account). Input is tidied automatically (phone prefix, zip spacing); only what cannot be fixed is refused. Payment terms of the address follow the customer account; the payment of a particular order is chosen in place_order. Returns delivery_address_id for checkout_preview and place_order.

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": {
      "contact_surname": "<contact_surname>",
      "phone": "<phone>"
    },
    "name": "create_delivery_address"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipNoPSČ, 5 digits for CZ/SK
cityNoCity or village (obec)
emailNoE-mail of the delivery place only when it differs from the account e-mail
phoneYesPhone for the carrier, e.g. "+420 724 230 861"
phone2NoSecond phone (site manager), optional
streetNoStreet name without the house number; may be empty in villages without street names
place_nameNoName of the shop / production site, defaults to the company name
house_numberNoČíslo popisné, e.g. "1973" or "3294/10"
contact_surnameYesWho receives the goods — printed for the carrier
contact_first_nameNoFirst name of the person receiving the goods, optional
delivery_method_idNoDefault transport for this address; TOPTRANS courier when omitted
orientation_numberNoČíslo orientační, optional

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / city / description
      Added value: +"City or village (obec)"
    • addedInput schema / properties / contact_first_name / description
      Added value: +"First name of the person receiving the goods, optional"
    • addedInput schema / properties / street / description
      Added value: +"Street name without the house number; may be empty in villages without street names"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: input is auto-normalized (phone prefix, zip spacing) and only unfixable input is rejected, payment terms are inherited from the customer account rather than this call, and per-order payment is deferred to place_order. It also documents the return contract (delivery_address_id consumed by checkout_preview and place_order), which is meaningful given there is no output schema.

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?

Purpose is front-loaded in the first clause, followed by the minimum-field rule, the empty-field rule, normalization behavior, and the return value in a logical order with zero filler. It is dense — a single long paragraph packing several distinct rules — but no sentence is redundant.

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 12-parameter creation tool with no output schema, the definition covers triggering, field requirements, normalization, fallback behavior, payment-term side effects, and the returned identifier. An agent has everything needed to call it correctly and to know where its output is consumed.

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 the baseline is 3; the description earns more by explaining the semantic rule that empty address fields copy city, zip, street and house number from the ARES account, and by listing the fields that are practically mandatory. However, its stated minimum (city, zip, house number, surname, phone) is stricter than the schema's required list (contact_surname, phone), a mismatch that could confuse the agent at call time.

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 ("Create a delivery address (place of business) for this customer") and positions it relative to the ordering flow and the sibling tools it feeds (checkout_preview, place_order). An agent can distinguish it from list_delivery_addresses without opening a schema.

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 clear trigger condition — "required once before the first order, exactly as the web shop asks right after registration" — plus an explicit escape hatch (leave address fields empty to fall back to the ARES company address). It stops short of addressing the duplicate case (the tool is non-idempotent), e.g. what to do if an address already exists, which is the main decision an agent still has to guess at.

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