Skip to main content
Glama

Get Delivery Date

get_delivery_date
Read-only

Calculate an expected parcel delivery date from shipping date, postal code, and delivery options to show customers when a shipment should arrive.

Instructions

Calculate the expected delivery date for a shipment based on the shipping date, postal code, and delivery options. Useful for showing customers when they can expect their parcel.

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": {
      "shippingDate": "<shippingDate>",
      "postalCode": "<postalCode>"
    },
    "name": "get_delivery_date"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoDestination city
houseNrNoDestination house number
optionsNoDelivery options: Daytime, Evening, Morning, Noon, Sunday, Sameday
cutOffTimeNoCut-off time for same-day processing (format: HH:mm:ss)
houseNrExtNoHouse number extension
postalCodeYesDestination postal code (Dutch format: 1234AB)
countryCodeNoDestination country code (ISO 3166-1 alpha-2)NL
shippingDateYesShipping date in format dd-MM-yyyy HH:mm:ss (e.g. '29-06-2024 14:00:00')
shippingDurationNoNumber of days for shipping (default depends on destination)
originCountryCodeNoOrigin country code (ISO 3166-1 alpha-2)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-data dependence are covered structurally. The description adds that this is a computation over shipping date, postal code and options, but says nothing about failure modes (invalid postal code, unsupported country), how cutOffTime or shippingDuration affect the result, or whether the answer is a single date or a window.

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?

Two tight sentences with the core action front-loaded and no redundant wording. The second sentence carries modest value as a usage hint, though it borders on filler for an agent that mainly needs invocation guidance.

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?

There is no output schema, so the description arguably should say what comes back (a single date vs. a date/time window, and how options influence it) — that is the main gap. Otherwise, with all ten parameters fully documented in the schema and read-only behavior covered by annotations, an agent has enough to invoke it correctly for a simple calculation tool.

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 all ten parameters including options, cutOffTime, shippingDuration and country codes are already documented in the schema. The description merely echoes three of them (shipping date, postal code, delivery options) and adds no format, default, or interaction semantics beyond that baseline.

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 ('Calculate the expected delivery date for a shipment') and names the three driving inputs, so the agent can tell it apart from get_delivery_options or get_shipment_status. It stops short of explicitly contrasting with those siblings, which keeps it from a 5.

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?

The sentence 'Useful for showing customers when they can expect their parcel' gives a general usage context, but there is no explicit when-to-use/when-not, no prerequisite ordering (e.g. calling get_delivery_options first to obtain valid option strings), and no named alternative. Usage is implied rather than guided.

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