Skip to main content
Glama

get_delivery_options

Read-onlyIdempotent

Quote delivery prices and dates for one or two units of a product variant in Slovakia, and list available pickup places with their own availability dates.

Instructions

Quote delivery for one or two units of a product variant in Slovakia. Defaults to one unit. Returns market-level prices and dates plus pickup places supplied with each method. With address_checked: false, present delivery prices and dates as market-level quotes. Wolt availability and timing for a specific location require location-specific evidence. Report each pickup place using its own availability and date when supplied.

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": {
      "product_id": "<product_id>"
    },
    "name": "get_delivery_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
quantityNo
product_idYes

Output Schema

NameRequiredDescriptionDefault
marketYes
sourceYes
quantityYes
checked_atYes
product_idYes
pickup_methodsYes
address_checkedYesThe quote used no delivery address or postal code.
delivery_methodsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.5.2
    • addedInput schema / properties / quantity
      Added value: +{
      +  "default": 1,
      +  "maximum": 2,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / address_checked
      Added value: +{
      +  "const": false,
      +  "description": "The quote used no delivery address or postal code.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / quantity
      Added value: +{
      +  "maximum": 2,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "source",
      -  "market",
      -  "checked_at",
      -  "product_id",
      -  "delivery_methods",
      -  "pickup_methods"
      -]New value: +[
      +  "source",
      +  "market",
      +  "checked_at",
      +  "product_id",
      +  "quantity",
      +  "address_checked",
      +  "delivery_methods",
      +  "pickup_methods"
      +]
  2. Addedv0.3.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (read-only, idempotent, open-world), and the description adds useful behavior: results are market-level quotes, pickup places carry their own availability and dates, and Wolt timing cannot be guaranteed without location evidence. This is meaningful context beyond the annotations, though it never states how the open-world lookup can fail or what happens for unsupported markets.

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

Conciseness3/5

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

The purpose is front-loaded correctly, but the remaining sentences are dense and mix result-presentation advice with constraints, and the 'address_checked' clause adds confusion rather than value. Several sentences could be tightened or merged.

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

Completeness3/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 do not need full explanation, and the annotations cover safety. Still, the required product_id is never described and the phantom 'address_checked' parameter creates a gap an agent cannot resolve from structured fields alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning. It clarifies quantity implicitly ('one or two units', 'Defaults to one unit') but says nothing about the required product_id format or semantics, and it introduces an 'address_checked' parameter that is not in the input schema, which can mislead an agent.

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?

The first sentence gives a specific verb and resource ('Quote delivery for one or two units of a product variant in Slovakia'), which is materially different from the sibling availability/store tools. It stops short of explicitly distinguishing itself from get_product_availability, so it is not fully unambiguous.

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

Usage Guidelines3/5

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

It establishes the market-level context and warns that Wolt availability for a specific location needs location-specific evidence, which is genuine when-to-use guidance. However, the instruction refers to an 'address_checked' flag that does not exist in the schema, and no sibling tool is named as the alternative for location-specific queries.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.