Skip to main content
Glama

Check delivery feasibility

check_delivery
Read-onlyIdempotent

Is delivery to a country (optionally a city, by a date, for a specific gift) feasible? Returns earliest/latest estimate and warnings (PO box, hotel, holiday window) with a suggested action. Use it whenever the user has a deadline.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNoDestination city (used for warnings only; never store addresses in chat).
localeNoLanguage of the conversation with the user (e.g. he-IL, fr-FR). Localizes content and messages; prices and availability are unaffected.
countryYesDestination country, ISO-3166 alpha-2.
gift_idNoOptional gift_id to use that gift's delivery window.
date_neededNoYYYY-MM-DD the gift must arrive by.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed
latestNoISO date of the latest estimated delivery
localeNoBCP-47 locale the texts are localized to
earliestNoISO date of the earliest estimated delivery
feasibleNo
warningsNo
display_textNoHuman-readable one-line summary of the result
business_daysNo
suggested_actionNo

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds operational context by specifying return types (earliest/latest estimate) and warning categories (PO box, hotel, holiday window) with a suggested action, which is valuable 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.

Conciseness5/5

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

The description is exactly two sentences: the first states the purpose and expected output, the second gives usage guidance. It is front-loaded, efficient, and contains no redundant or filler content.

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?

Given the presence of an output schema and high schema coverage, the description need not explain return structures in detail. It covers the main use case, key output types, and common warnings. It could be slightly more explicit about negative results (e.g., infeasible delivery), but overall it is adequate.

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%, with each parameter thoroughly documented (e.g., city for warnings only, locale localizes messages). The tool description only paraphrases these (e.g., 'by a date' for date_needed) without adding new semantic depth, so it meets the baseline but does not exceed it.

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 explicitly states the tool checks delivery feasibility to a country with optional city, date, and gift, returning estimates and warnings. This is a specific verb+resource that clearly distinguishes it from siblings like 'search_gifts' or 'get_order_status'.

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?

The phrase 'Use it whenever the user has a deadline' provides clear contextual guidance for when to invoke this tool. It does not explicitly mention alternatives or when not to use it, but the deadline trigger is a strong discriminator.

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.

TDQS

A4.2/5.0
Disambiguation4/5

Each tool targets a distinct resource/action: searching gifts, checking delivery, creating checkout, fetching details, looking up order status, and listing orders are all conceptually separate. Minor potential confusion exists between check_delivery and get_gift_details since both surface delivery-window information, but their primary purposes differ clearly.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern: check_, create_, get_, list_, search_. The naming style is uniform and predictable, making it easy to infer each tool's function.

Tool Count5/5

Six tools is a well-scoped set for a gift-delivery e-commerce server. Each tool represents a meaningful step in the customer journey from search and eligibility to checkout and order tracking, without unnecessary redundancy.

Completeness4/5

The tool surface covers the core lifecycle: search, view details, check delivery, create checkout, list orders, and check order status. Minor gaps exist such as no explicit cancellation, returns, or order modification tools, but the publicly-facing purchase journey appears complete for the stated purpose.

Resources