Skip to main content
Glama

Current shift of the cashier

get_current_shift
Read-onlyIdempotent

Retrieve the signed-in cashier's active shift status, opening time, register, running balances, and tax totals, or confirm when no shift is open.

Instructions

Returns the active shift (зміна) of the signed-in cashier: status, opening time, cash register, running balance (cash and card sales, returns, service cash in/out) and per-tax totals. Tells you when the cashier has no open shift.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint), so the bar is lower. The description adds genuinely non-annotated behavior: the exact content of the response and, importantly, the no-open-shift case, which tells the agent how to interpret an empty result.

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?

Two sentences, front-loaded with the verb and resource, and every clause carries information. The parenthetical field list is dense but justified because there is no output schema to document the payload.

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 no output schema, the description must sketch the return shape, and it does (status, opening time, register, balances, per-tax totals) plus the empty-state behavior. It stops short of explaining field formats or any auth/offline caveats for an openWorld tool, but nothing essential is missing for a parameterless read.

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?

Zero parameters, so the baseline is 4 and there is no schema surface the description needs to compensate for. The description correctly avoids inventing parameter details, though it also adds nothing here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 active shift of the signed-in cashier') and enumerates the payload (status, opening time, cash register, running balance, per-tax totals), so the agent knows exactly what comes back. It implicitly distinguishes itself from get_shift/list_shifts by being the no-argument, signed-in-user variant, but never names a sibling explicitly.

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?

Usage is only implied: the 'signed-in cashier' scoping and the empty-shift note suggest when this tool is appropriate, but there is no explicit when-to-use, when-not-to-use, or pointer to get_shift/list_shifts for other cases. An agent must infer the routing from the absence of parameters.

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