Skip to main content
Glama

Open a Checkbox shift

checkbox_open_shift
Idempotent

Opens a cashier shift on the Checkbox cash register (needs the cash register license key in the connection). Returns the current shift unchanged when one is already open.

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": "checkbox_open_shift"
  }
}

Input Schema

NameRequiredDescriptionDefault
connection_idNoCheckbox connection id

Output Schema

NameRequiredDescriptionDefault
demoNo
noteNo
serialNo
statusYesCREATED | OPENING | OPENED | CLOSING | CLOSED
cashierNo
receiptsNo
shift_idNo
closed_atNo
opened_atNo
connectionYes
hours_openNo
sales_totalNo
cash_registerNo
returns_totalNo
z_report_fiscal_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, and the description reinforces this by stating the current shift is returned unchanged when one is already open — a concrete behavioral guarantee rather than a restatement. It also discloses the connection-level auth prerequisite (license key), which annotations do not cover. It stops short of describing side effects or failure modes, keeping it just under the top mark.

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, no filler, with the action and its prerequisite front-loaded and the already-open behavior following immediately. Every clause carries information an agent would otherwise have to guess.

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?

An output schema exists, so return shape needn't be spelled out, and the description still covers the one behavioral question an agent would have (what happens if a shift is already open). For a single-parameter mutation tool, nothing essential is missing.

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

Parameters4/5

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

With only one parameter at 100% schema coverage, the schema already documents connection_id; the description adds that the connection must carry the cash register license key, which is meaningful semantics beyond the schema's 'Checkbox connection id'. That is real added value on a single-param tool.

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 — opening a cashier shift on the Checkbox cash register — which is immediately distinguishable from siblings like checkbox_close_shift and checkbox_get_shift. The parenthetical about the license key adds scope detail rather than restating the name.

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?

It establishes the precondition (a Checkbox connection with the cash register license key) and describes the already-open case, which tells an agent what to expect instead of erroring. It does not explicitly name checkbox_close_shift or checkbox_get_shift as alternatives, but the create-vs-read roles are clear from the names and the verb.

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