Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Mondovo. If you published it, claim ownership there.

Turn cash on delivery on or off

configure_cash_on_delivery
Idempotent

Offer (or stop offering) cash on delivery at checkout, optionally only for orders between min_order and max_order (major currency units). Works with no payment provider at all, so it is the quickest way to let a store take orders. Omitted limits keep their current value.

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": {
      "site_id": "<site_id>",
      "enabled": "<enabled>"
    },
    "name": "configure_cash_on_delivery"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYesOffer cash on delivery at checkout
site_idYesThe site, from list_sites
currencyNoThe currency the limits are in. Required when the store currency was only inferred; must be the store currency
max_orderNoLargest order that may pay on delivery. null = no maximum; omit to keep the current value.
min_orderNoSmallest order (major currency units, e.g. 500 = ₹500) that may pay on delivery. null = no minimum; omit to keep the current value.
user_goalNoOptional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / user_goal
      Added value: +{
      +  "description": "Optional: the user's goal behind this call, in one short sentence of plain words (e.g. \"add a page so customers can book tables\"). No names, emails or other personal details.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / currency
      Added value: +{
      +  "description": "The currency the limits are in. Required when the store currency was only inferred; must be the store currency",
      +  "pattern": "^[A-Za-z]{3}$",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, and the description adds the non-obvious partial-merge rule: 'Omitted limits keep their current value', which is the key behavioral trait an agent needs to avoid clobbering existing limits. It does not address what happens to already-placed COD orders when disabling, or whether the change is reversible.

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?

Three short sentences, front-loaded with the action and its effect, then the optional scoping, then the merge rule. Every sentence carries information an agent would otherwise have to infer.

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?

For an idempotent, non-destructive mutation with full schema coverage and no output schema, the description covers purpose, prerequisite (no payment provider needed), limit semantics and merge behavior. The remaining gap is operational detail about disabling (effect on existing COD orders, required permissions), which is a smaller omission than the core coverage it provides.

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 the schema already explains enabled, min_order, max_order, currency and the null-vs-omit distinction. The description reinforces unit semantics ('major currency units') and the merge rule, but adds little that the schema does not already carry.

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 ('Offer (or stop offering) cash on delivery at checkout') and adds the differentiator that it works with no payment provider, which separates it from configure_payments and configure_shipping. It stops short of naming those siblings, but an agent can route correctly from the text alone.

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?

'Works with no payment provider at all, so it is the quickest way to let a store take orders' gives a clear condition for reaching for this tool over the fuller payment configuration flow. There is no explicit exclusion ('do not use if X' or a named alternative), so it falls short of a 5.

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