Skip to main content
Glama

Loyverse MCP by usefulapi

List shifts

loyverse_list_shifts
Read-only

List cash-register shifts with their cash, gross/net sales, refunds, discounts, taxes, per-payment-type totals and pay-in/pay-out movements — the end-of-day view. Loyverse: GET /shifts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoPage size, 1-250 (Loyverse default 50).
cursorNoThe `cursor` from the previous page's response. Omit for the first page.
store_idsNoComma-separated list of store ids to return.
created_at_maxNoOnly shifts opened at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).
created_at_minNoOnly shifts opened at or after this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds genuine value beyond that by enumerating the returned data categories and citing the upstream endpoint ('Loyverse: GET /shifts'). It omits pagination/cursor behavior and any rate-limit context, so it stops short of a 5.

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?

A single front-loaded sentence; the scope ('List cash-register shifts') comes before the field enumeration, and the endpoint tag is a compact trailer. The long field list is slightly heavy but earns its place since no output schema exists.

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 usefully compensates by describing the shape of the return (sales, refunds, taxes, payment-type totals, pay-in/out movements). Pagination semantics (cursor chaining, default page size) are left entirely to the schema, which is the only notable gap.

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 description coverage is 100%, with all five parameters (limit, cursor, store_ids, created_at_min/max) fully documented in the schema itself. The description adds no parameter-level meaning, so the 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?

States a specific verb ('List') and resource ('cash-register shifts') and enumerates the returned aggregates (cash, gross/net sales, refunds, discounts, taxes, per-payment-type totals, pay-in/pay-out), which makes it clearly distinguishable from sibling listers like loyverse_list_receipts. An agent can tell what it gets without opening the schema.

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 via the phrase 'the end-of-day view', which signals a reporting/reconciliation context. There is no explicit when-to-use or when-not-to-use guidance, and no alternative tool (e.g. loyverse_list_receipts) is named for shift-level vs receipt-level data.

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.