Skip to main content
Glama

Quote delivery

get_shipping_quote
Read-onlyIdempotent

What delivery costs to an Egyptian governorate, in Minor units (piastres): 12345 means 123.45 EGP. The checkout prices delivery again when it is placed; this answers "how much to Aswan?" without starting one.

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": {
      "store": "<store>",
      "governorate": "<governorate>"
    },
    "name": "get_shipping_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoOptional. Refines the price where the store prices a city separately.
storeYesThe store, from find_stores or search_all_stores (its `store` field).
governorateYesArabic or English name, e.g. "القاهرة" or "Cairo".
codAmountMinorNoCash to collect, if any. Minor units (piastres): 12345 means 123.45 EGP.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered elsewhere. The description adds genuinely useful behavior beyond that — this is a non-binding quote and the checkout recomputes the price at placement time — but says nothing about failure modes or whether the quote expires. A 3 is right for a description that adds one piece of real context on top of strong 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?

Two sentences with zero waste: the currency convention is front-loaded and the contrast with checkout follows immediately. Every clause carries information an agent needs to interpret the number or choose the tool.

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?

No output schema exists, so the description must explain the return value, and it does precisely (integer in piastres). Combined with the 100%-covered input schema and the read-only annotations, an agent has everything needed to call and interpret this 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%, including the minor-units convention and the city refinement rule, so the schema already carries the parameter meaning. The description adds only the unit framing, which duplicates the schema. Baseline 3 applies when the schema does the heavy lifting.

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?

Names a specific verb+resource (cost of delivery to an Egyptian governorate) and pins down the return unit with a concrete conversion example: 12345 means 123.45 EGP. It also explicitly contrasts itself with the checkout flow that prices delivery again, so an agent can separate it from get_checkout/create_checkout 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 clear when-to-use context: answering "how much to Aswan?" without starting a checkout, which implicitly redirects agents that actually want to place an order toward the checkout sibling. It stops short of stating exclusions in absolute terms (e.g. what to do if the governorate isn't covered) or naming check_delivery_area as the coverage-check alternative.

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.