Skip to main content
Glama

Checkout reminders

set_checkout_reminders

Reminder emails to customers who started a checkout on the site (k.pay) but didn't pay: one short email from the business, after delay_minutes (30-1440, default 60), with a link to complete the payment and a link to stop reminders. Off by default; ask the owner before turning it on. Only reaches customers whose form asked for their email (the collection's payment.email_field or an email field). Call with just the site to see the settings and counts (reminders sent, paid after a reminder).

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": "<site>"
    },
    "name": "set_checkout_reminders"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesSite slug (e.g. "kopitiam-muar") or id
enabledNoTurn reminders on (true) or off (false)
delay_minutesNoHow long after an unpaid checkout the reminder goes out (30 minutes to 24 hours)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true) by disclosing that real emails are sent to real customers, that the feature is off by default, that owner consent is required, and that only customers whose form collected an email (payment.email_field or an email field) are reachable. It also clarifies the partial read behavior of a call with only 'site', which resolves the ambiguity of a write-flagged tool that can also inspect.

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?

Front-loaded with the core behavior and free of filler, but it is one dense multi-clause paragraph that packs delivery mechanics, defaults, consent, eligibility, and inspection into a single run-on block. Slightly longer than needed, though every clause contributes information.

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?

For a mutation tool with no output schema, the description covers the essentials: default-off state, consent requirement, recipient eligibility, timing bounds, and what a site-only call returns. An agent has what it needs to call it correctly and safely without further inference.

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 coverage is 100%, so both optional parameters are already documented in the schema. The description adds marginal value: it restates the delay range and supplies a default of 60 minutes not present in the schema, and implies enabled requires owner approval. Baseline 3 applies since the schema carries most of the parameter semantics.

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?

States a specific verb and resource: it configures reminder emails to customers who abandoned a checkout on k.pay, and explains the mechanism (one short email after delay_minutes with a pay link and an unsubscribe link). An agent can distinguish this from generic settings siblings like set_site_settings because the customer-facing email behavior is described concretely.

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 activation guidance: 'Off by default; ask the owner before turning it on' and 'Call with just the site to see the settings and counts', which tells the agent it can invoke read-only-style to inspect before mutating. It does not name any sibling alternative, so it stops short of a 5, but the when/when-not conditions are explicit.

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