Skip to main content
Glama

Pinpal Receipts

Read a line

read_line
Read-only

One line in full, by its ID (line, like #1042) or by month and number: ref (the ID's number, said #1042), the bank account it is on, the facts, the memo, its labels, its source (where the receipt is found, with its note and by: hand, carried or rule; origin says whether the line came from the statement or was added by hand), its receipts (number, name, type, what the reader found on each, its kind: receipt, paid_invoice, invoice, notice or other), proof (missing when a card payment has only an unpaid invoice or a notice), its thread, and Inbox documents that could be its receipt. "by" on each comment and file says who: the person, this AI (you) or another AI.

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": "read_line"
  }
}

Input Schema

NameRequiredDescriptionDefault
lineNoThe line's ID, like #1042 (list_lines and read_line show it): names the line alone, instead of month and number.
monthNoThe month as YYYY-MM, like 2026-09; with number, or give line instead.
numberNoThe line's number in the month, like 12; with month, or give line instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already establish that the tool is read-only, non-destructive, and closed-world. The description adds meaningful return context beyond that, including source, receipts, proof, thread, Inbox documents, and a conditional note that proof is missing when a card payment has only an unpaid invoice or notice.

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

Conciseness2/5

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

The description is a single run-on sentence with deeply nested parentheticals and a long list of return fields. It front-loads the core purpose, but the structure makes it hard to scan and parse.

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?

There is no output schema, so the description carries the burden of explaining returned data, and it enumerates many relevant fields such as source, receipts, proof, thread, and Inbox documents. It still lacks guidance on lookup errors or ambiguous/no-match cases, but it is broadly complete for a read-only single-resource 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 description coverage is 100%, so the schema already documents line, month, and number. The description restates the ID-or-month-and-number lookup pattern but adds little reliable parameter detail, and the term 'ref' is somewhat ambiguous.

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 identifies the resource and lookup modes: one full line, by ID or by month and number. It is specific enough to distinguish this from a list operation, though it does not explicitly name sibling tools or state a direct retrieval verb.

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?

It explains the two lookup approaches but gives no explicit guidance on when to use read_line versus list_lines, read_document, or update_line. There are no exclusions or alternatives, so usage must be inferred.

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