Skip to main content
Glama

Pinpal Receipts

List lines

list_lines
Read-only

The lines of a month in date order, compact so a whole month fits. Lines not needed are left out unless status asks for them (notShown says how many there are). When the person has more than one bank account, the lines come under each account (its name and currency once). Each line: ref (the line's ID, like #1042: unique in the account across months, so it alone names the line in every tool that takes a line), number (in the month), date, text (the merchant when the bank named one, or who was paid when the bank's text is only a giro number; bankText then has the number), amount (signed), status, and only when there is something to say: currency (when not the account's), originalAmount and originalCurrency (a purchase abroad), purchaseDate (when not the line's date), counterparty, fileCount with files (what the reader says each file is: receipt, paid_invoice, invoice, notice, other), proof: missing (a card payment whose files are only an unpaid invoice or a notice), labels, source (where the receipt is found). read_line gives one line in full; detail: true gives every field for every line (large). Filters work together: status, label, source, bankAccount, amount (the amount or the original amount, either sign, within half a percent), from and to (the line's date or purchase date, inclusive), text (contained in the text, the bank's text, the merchant, the counterparty or the message, any case; #1042 finds that line). With moneyIn off (get_account), the lines with money in are left out.

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": {
      "month": "<month>"
    },
    "name": "list_lines"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoYYYY-MM-DD: lines dated (or purchased) on or before this day.
fromNoYYYY-MM-DD: lines dated (or purchased) on or after this day.
textNoWords the line contains, any case, like google.
labelNoOnly lines with this label; several joined by commas: lines with any of them.
monthYesThe month as YYYY-MM, like 2026-09.
amountNoA receipt's total, like 267.18: lines whose amount or original amount is this, either sign, within half a percent.
detailNotrue: every field of every line (ids, the bank's text, message, rate, times). Large; use read_line for one line instead.
sourceNoOnly lines with this source (where the receipt is found), like Login; none for lines without a source; several joined by commas. With status missing: everything still missing from that source in one call.
statusNoDefault missing,found,done (everything but not needed). open (missing and found), closed (done and not needed), all, or statuses joined by commas, like missing,not_needed.
bankAccountNoOnly lines on this bank account (name or id), or none for lines on no account; several joined by commas: lines on any of them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare read-only, non-destructive, closed-world, but the description adds substantial behavior: lines are omitted unless status asks, notShown reports how many, multi-account grouping, ref uniqueness across months, conditional fields, and the get_account moneyIn-off interaction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, but the body is one dense wall of text mixing return-field enumeration, filter semantics, and edge cases. Every point is useful, yet the structure would be far easier to scan as short labeled segments rather than a single paragraph.

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

Completeness5/5

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

For a 10-parameter, no-output-schema tool this is thorough: return fields and their conditions, filter interactions, defaults, omission behavior, and the sibling alternative are all covered. An agent has what it needs to call it correctly.

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 still adds value beyond the schema: how filters combine ('Filters work together'), that text matches bank text/merchant/counterparty/message and that '#1042 finds that line', and the source+status missing shortcut.

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?

Opens with a specific verb and resource plus scope: 'The lines of a month in date order, compact so a whole month fits.' It distinguishes itself from read_line ('read_line gives one line in full') and from detail:true, so an agent can tell what it returns without opening the schema.

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

Usage Guidelines5/5

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

Explicitly routes: use read_line for a single line in full, and use detail:true only when every field is needed ('Large'). It also states status defaults (missing,found,done) and the special case 'with status missing: everything still missing from that source in one call', plus how filters combine.

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