Skip to main content
Glama

create_interruption

Temporarily pause a store for a specified time window using the correct pause mechanism, not opening-hours changes, with a reason and store-local start and end times.

Instructions

Temporarily PAUSE a store for a time window (correct pause mechanism, not opening-hours).

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": {
      "merchant_id": "<merchant_id>",
      "description": "<description>",
      "start": "<start>",
      "end": "<end>"
    },
    "name": "create_interruption"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesEnd, extended ISO 8601 (store local time).
startYesStart, extended ISO 8601 (store local time).
descriptionYesReason for the pause (shown internally).
merchant_idYesMerchant ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare that this is a non-read-only, non-idempotent, non-destructive, open-world operation. The description adds that the effect is a temporary pause bounded by a time window, but it does not describe permissions, side effects on orders, overlapping pauses, or the success response.

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 definition is a single front-loaded sentence with no filler. The parenthetical earns its place by preventing a likely misuse, and the core action and scope appear before the caveat.

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?

Annotations cover the safety profile and the schema fully documents every parameter, so the description provides enough context to invoke the tool correctly and distinguish it from opening-hours changes. Some operational details, such as overlapping pauses or what creation returns, are absent, but they are less critical for a simple create operation with no output schema.

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 all four parameters already have descriptions, including the store-local ISO 8601 format for start and end. The description only implies a time window and store scope; it adds no parameter constraints or formats beyond the schema, so baseline 3 applies.

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 states a specific verb and resource: PAUSE a store. It defines the scope as temporary and bounded by a time window, and distinguishes the tool from opening-hours management. This is enough for an agent to identify the correct mutation tool.

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 parenthetical 'correct pause mechanism, not opening-hours' explicitly steers the agent away from changing opening hours, which is a plausible sibling confusion. It does not spell out when to prefer this over delete_interruption or list_interruptions, but it gives clear context for the main alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.