Skip to main content
Glama

get_shop_receipts

Lists a shop's orders and receipts with filters for payment status, shipment status, and creation date, plus pagination, so you can review sales activity.

Instructions

List orders/receipts for a shop with optional filters

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "shop_id": "<shop_id>"
    },
    "name": "get_shop_receipts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoResults per page
offsetNoOffset for pagination
shop_idYesThe shop ID
was_paidNoFilter by payment status
max_createdNoMaximum creation timestamp (epoch seconds)
min_createdNoMinimum creation timestamp (epoch seconds)
was_shippedNoFilter by shipment status

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It states it's a list operation with filtering, implying read-only behavior, but doesn't disclose critical details like pagination handling (beyond schema parameters), rate limits, authentication requirements, or what happens if filters yield no results. This leaves significant behavioral gaps for an agent.

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?

The description is a single, efficient sentence that front-loads the core purpose ('List orders/receipts for a shop') and adds key context ('with optional filters'). There's no wasted verbiage, making it appropriately concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, no output schema, and 7 parameters, the description is incomplete. It lacks details on behavioral traits (e.g., pagination, error handling), output format, and usage context. For a tool with this complexity, the description should provide more guidance to compensate for missing structured data.

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 fully documents all 7 parameters. The description adds minimal value by mentioning 'optional filters', which aligns with parameters like min_created and was_paid, but doesn't provide additional semantics beyond what's in the schema. This meets the baseline for high schema coverage.

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?

The description clearly states the action ('List') and resource ('orders/receipts for a shop'), making the purpose understandable. It distinguishes from siblings like 'get_receipt' (singular) and 'get_transactions_by_receipt' by focusing on multiple receipts with filtering. However, it doesn't explicitly differentiate from 'get_transactions_by_shop', which might overlap in scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description mentions 'optional filters' but provides no guidance on when to use this tool versus alternatives like 'get_receipt' (for a single receipt) or 'get_transactions_by_shop' (for transaction details). There's no explicit context for when this tool is preferred, leaving usage ambiguous.

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