Skip to main content
Glama

Loyverse MCP by usefulapi

List inventory levels

loyverse_list_inventory
Read-only

List current stock (in_stock) per variant per store. Filter by stores and/or variants — the answer to 'what is running low?'. Loyverse: GET /inventory.

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 store ids.
variant_idsNoComma-separated variant ids.
updated_at_maxNoOnly levels updated at or before this time (ISO 8601 UTC, e.g. 2026-03-30T18:30:00.000Z).
updated_at_minNoOnly levels updated 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

A4.2/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 genuinely useful behavior beyond that: it discloses the returned content shape (stock level per variant per store) and the upstream endpoint (GET /inventory), which matters given there is no output schema. Pagination behavior itself is left to the schema's cursor/limit descriptions.

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 compact sentences: the core purpose is front-loaded and the filter hint plus endpoint reference follow without padding. Nothing is repeated verbatim from the schema.

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?

For a six-parameter, optional-argument list tool with no output schema, the description covers purpose, filterability, and upstream source, which is enough to invoke it correctly. It could say slightly more about result granularity when no filters are supplied, but the schema carries the remaining detail.

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%, so the schema already documents all six parameters including limit bounds, cursor, and ISO timestamps. The description only echoes the store/variant filters and adds no new syntax, format, or defaulting detail, matching the baseline for fully documented schemas.

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 ('List current stock (`in_stock`) per variant per store') with the granularity (per variant, per store) made explicit, which cleanly separates it from siblings like loyverse_list_variants and loyverse_set_inventory_levels.

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?

Gives a concrete use scenario ('the answer to "what is running low?"') and explains that results can be narrowed via store/variant filters, which tells the agent when this tool fits. It stops short of naming an alternative or stating when not to use it (e.g., no contrast with the setter tool).

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.