Skip to main content
Glama

Get the Checkbox shift

checkbox_get_shift
Read-onlyIdempotent

Returns the cashier's current Checkbox shift: status, opening time and hours open, cash register fiscal number, cashier, number of receipts, and sales and returns totals.

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_get_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

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds the returned data set, which helps an agent judge relevance, but it omits the important edge case of what happens when no shift is currently open (error vs. null).

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?

A single front-loaded sentence that opens with the action and resource, then lists return fields compactly. No filler, no repetition of the title, and nothing that could be cut without losing signal.

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?

With an output schema present, the description does not need to carry return formatting, and read-only/ idempotent semantics come from annotations. The only meaningful gap for correct invocation is the no-open-shift behavior, which is not addressed.

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?

There is a single optional connection_id parameter and the schema already describes it at 100% coverage, so the baseline of 3 applies. The description adds no meaning about how to choose a connection or what the default behavior is when null.

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 ('Returns the cashier's current Checkbox shift') and enumerates exactly what comes back: status, opening time, hours open, fiscal number, cashier, receipt count, sales and returns totals. It is immediately distinguishable from the sibling mutation tools checkbox_open_shift and checkbox_close_shift.

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

Usage Guidelines3/5

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

The phrase 'current shift' implies the read/status-check scenario, but the description never states when to call this versus checkbox_open_shift or checkbox_close_shift, nor any prerequisite such as an already-open shift. Usage must be inferred from the tool name.

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