Skip to main content
Glama

Save Pickup Settings

save_pickup_settings
DestructiveIdempotent

Change a store's Pickup Settings page: isEnabled (customers can book pickup; turning it on also shows the Pickup Monitor in the menu), leadTimeMinutes, maxDaysAhead, slotDurationMinutes, blackoutDates (YYYY-MM-DD, the full list), timeSlots (the full weekly schedule: day, store-local HH:mm start and end, optional maxOrders and isActive; a window keeps its identity by day, start and end) and locations (the full list: with an id it updates that location, without one it adds one, and any left out is removed). Omitted fields keep their current values; read them first with get_pickup_settings. Admin. Requires Write + pickup.execute; operator credentials only. Preview first, then repeat identical arguments with previewReceipt and idempotencyKey. In-app assistants get a confirm card.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "save_pickup_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
storeNoStore id, code or name; optional when the company has one store.
previewNo
isEnabledNoWhether customers can book pickup at this store.
locationsNoThe complete list of pickup locations.
timeSlotsNoThe complete weekly schedule of pickup windows.
maxDaysAheadNoHow many days ahead customers can book (1 or more).
blackoutDatesNoThe complete list of store-local dates (YYYY-MM-DD) customers cannot book.
idempotencyKeyNo
previewReceiptNo
leadTimeMinutesNoMinutes between ordering and the earliest pickup (0 or more).
slotDurationMinutesNoLength of a pickup slot, in minutes.

Output Schema

NameRequiredDescriptionDefault
previewNo
nextStepNo
settingsNo
expiresAtNo
actionItemIdNo
confirmationNo
correlationIdNo
approvalResultNo
idempotencyKeyNo
previewReceiptNo
idempotentReplayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, idempotentHint=true and readOnlyHint=false, and the description concretely explains the destruction ("any left out is removed" for locations), the replace-vs-merge semantics for blackoutDates and timeSlots, and the side effect of enabling pickup (shows the Pickup Monitor in the menu). It adds genuine context on permissions and the preview/receipt handshake rather than repeating the annotations. It does not contradict the annotations, though it could have been explicit about whether omitted top-level fields are ever cleared versus merged for nested collections.

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 purpose and the field list, then the critical omit/replace semantics, then the operational steps. It is dense and the first sentence is long, but almost every clause carries information an agent needs; only minor tightening would help.

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 destructive, 11-parameter mutation tool, the description covers the prerequisites, the preview/confirm protocol, the merge-vs-replace contract, and the cross-reference to the read tool. An output schema exists, so return values needn't be described, and nothing else an agent needs to call this correctly appears to be missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Well beyond the 73% schema coverage, the description explains that blackoutDates and timeSlots are full-list replacements, that a window keeps identity by day + start + end, and the add/update/remove tri-state for locations (id present updates, absent adds, omitted removes). These identity and replacement rules are not expressed in the schema and materially change how an agent must construct arguments.

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?

Opens with a specific verb and resource ("Change a store's Pickup Settings page") and then enumerates every field the page holds, so the scope of the write is unambiguous. It also explicitly contrasts with the read sibling by telling the agent to read current values with get_pickup_settings, making selection between the two trivial.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States the key operating rule up front ("Omitted fields keep their current values; read them first with get_pickup_settings"), then names the required workflow: preview first, repeat identical arguments with previewReceipt and idempotencyKey. It also states the access precondition (Admin, Write + pickup.execute, operator credentials only) and notes in-app assistants get a confirm card, leaving little to inference.

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