Skip to main content
Glama

Goma – MCP for Danish grocery prices, meal plans, and recipes

Mine kvitteringer

get_receipts
Read-onlyIdempotent

Use this when the user asks about their grocery receipts. Returns the newest receipts Goma has synced from the user's connected store accounts, with date, chain, total and number of lines. With receiptId it returns that receipt with its lines: text, quantity, price and the matched Goma product.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_receipts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
receiptIdNoFrom an earlier get_receipts or search_purchases result.

Output Schema

NameRequiredDescriptionDefault
hasMoreYesOlder receipts exist beyond limit.
receiptYesThe receipt asked for with receiptId, with its lines; else null.
receiptsYesNewest first; empty when receiptId is given.
hasReceiptsYesThe user has receipts in Goma.
receiptsInfoYesSet when the user has no receipts: how receipts reach Goma (store accounts connected in the Goma app).

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds value beyond that by stating ordering ('newest'), the source of data (synced from connected store accounts), and exactly what fields come back in each mode, so the agent knows what it gets before calling.

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 sentences, usage trigger lead-positioned, then return contents, then the receiptId variant. Every clause carries information and nothing is padded or repeated from annotations or 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?

An output schema exists, so the return-field enumeration is a bonus rather than a requirement, and the dual-mode behavior is fully described. The remaining gap is the unspecified limit parameter (default, max, effect on results) and what happens when no receipts have been synced — minor for a read-only listing tool.

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 coverage is only 50%: receiptId is documented in the schema, while limit has no description in either place. The description clarifies receiptId's effect well ('returns that receipt with its lines'), but says nothing about how limit bounds or orders results, so it only partly compensates for the coverage gap.

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 gives a specific verb and resource ('Returns the newest receipts Goma has synced from the user's connected store accounts') and even defines what a receipt is here, which is not obvious from the name alone. It also covers the two modes (list vs. single receipt with lines). It stops short of distinguishing itself from any named sibling, so it is clear but not fully differentiated.

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?

'Use this when the user asks about their grocery receipts' gives an explicit trigger, and the description explains that supplying receiptId switches to single-receipt detail retrieval. No alternatives or exclusions are named — a related sibling like search_purchases only appears in the schema, not the description — so there is context but no routing guidance.

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.

Resources