Skip to main content
Glama

List shifts

loyverse_list_shift

List POS shifts from Loyverse with pagination. Returns shift details including opened/closed times, starting cash, payments, expected vs actual cash, and cash movements.

Instructions

List shifts from Loyverse (GET /shifts). Supports cursor pagination. POS cash register shifts (corte de caja): opened_at/closed_at, starting_cash, cash_payments, expected_cash vs actual_cash, gross/net sales, cash_movements. Not in the official docs registry but verified live (200 on both list and get). Field names follow the Loyverse API v1.0 (developer.loyverse.com/docs). If a call fails with a 400, the error message from Loyverse is returned verbatim — adjust the fields and retry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoItems per page, Loyverse default 25, max 250.
queryNoExtra query string filters supported by this endpoint (e.g. store_id, updated_at_min, created_at_max).
cursorNoPagination cursor from a previous response.
fetch_allNoIf true, follows pagination automatically and returns every page combined (capped at 20 pages for safety). If false/omitted, returns a single page.
Behavior4/5

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

No annotations, so description carries full burden. Discloses pagination behavior (cursor, fetch_all capped at 20 pages) and error response handling. Does not mention rate limits or auth, but as a read-only list, destructive behavior is not a concern.

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?

Concise and front-loaded with the primary action. Every sentence serves a purpose: endpoint, pagination, business context, reliability, error handling. No redundancy.

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?

No output schema, but description enumerates expected fields (opened_at, etc.) and mentions pagination and error behavior. Covers essential aspects for a list tool, though could note permissions or response format more explicitly.

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?

Schema coverage is 100%, so baseline is 3. Description adds value by explaining cursor pagination and the fetch_all cap of 20 pages, which is not in the schema. Parameter descriptions in schema are adequate, so description enhances understanding.

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 clearly states the tool lists shifts from Loyverse via GET /shifts, specifies it's for POS cash register shifts with key fields, and differentiates from sibling list tools by naming the entity.

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?

Provides context on reliability (verified live) and error handling (400 returns verbatim error). Lacks explicit comparison to get_shift for single shifts, but the guidance on pagination and retry is helpful.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ogarciabrena/mcploy'

If you have feedback or need assistance with the MCP directory API, please join our Discord server