Skip to main content
Glama

Zettle MCP by usefulapi

List purchases

zettle_list_purchases
Read-only

List POS purchases (sales and refunds) with amount, currency, timestamp, products, discounts, payments, refund info and the cashier. Needs READ:PURCHASE. Amounts are in the smallest currency unit. Default window is the last 3 years. Page with next_page_hash (pass it back as last_purchase_hash with the same other arguments). GET /purchases/v2.

Input Schema

NameRequiredDescriptionDefault
limitNoPurchases per page, 1-1000 (default 25).
end_dateNoOnly purchases before this UTC date or date-time (exclusive), e.g. 2026-10-08.
descendingNotrue = most recent first (default false: oldest first).
start_dateNoOnly purchases from this UTC date or date-time on (inclusive), e.g. 2026-10-01.
last_purchase_hashNonext_page_hash of the previous reply, for the next page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Adds real context beyond annotations: required READ:PURCHASE scope, amounts in smallest currency unit, default 3-year window, and the pagination round-trip contract. Annotations already cover read-only safety, so this adds the operational details an agent otherwise couldn't guess.

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 dense sentences with zero filler, ending with the endpoint path. Slightly crowded – auth, unit convention, window default and pagination are all packed into one long run-on – but each clause carries information.

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?

Covers auth, unit conventions, default time window, pagination loop, and the payload contents, which is what an agent needs to call this correctly without an output schema. Only the ordering default vs. the descending parameter interaction could be stated 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; the description goes further by explaining the pagination protocol (pass next_page_hash back as last_purchase_hash with identical other arguments), which the schema alone does not make clear.

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?

Specific verb + resource (list POS purchases, sales and refunds) plus a concrete enumeration of the fields returned. Clear distinction from the read-one sibling zettle_get_purchase is implied by 'list' vs 'get' and the pagination mention.

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?

States the default window (last 3 years) and the prerequisite scope READ:PURCHASE, but never says when to use this versus zettle_get_purchase or zettle_list_account_transactions. Usage is only implied by the resource it operates on.

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.