Skip to main content
Glama

List supplier purchases

list_supplier_purchases
Read-onlyIdempotent

What the business bought from its suppliers in a month — Home Depot, Lowe's, ABC Supply, Amazon Business and the rest — each with its job, its total and whether it is matched to the card or bank charge that paid for it, plus the month's reconciliation in summary. status: open means NOT YET MATCHED to a charge, not unpaid. summary.charges_without_receipt counts supplier charges in the bank feeds with no receipt behind them — those are receipts to find, not errors. Purchases come from emailed receipts, imported files and connected suppliers; nothing here was posted to the ledger. store, job_label and line text were printed by the supplier. Read only.

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

Input Schema

NameRequiredDescriptionDefault
viewNoDefault: all. `open` is not yet matched to a charge.
limitNoMaximum rows to return (1-200, default 50).
monthNoYYYY-MM. Default: the newest month with a purchase.
job_idNoOnly purchases filed to this job.
offsetNoRows to skip, for paging.
supplierNoA supplier key, e.g. home_depot, lowes, abc_supply, amazon_business.
entity_idNoAnother entity in the same books (ids from `list_entities`). Leave out to use the entity the person is working in.

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
viewNo
monthNo
countsNo
summaryNo
purchasesNo
truncatedNo
month_labelNo
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that purchases come from emailed receipts, imported files, and connected suppliers, and that none of it was posted to the ledger. It also explains the meaning of the open status, the summary count semantics, and the provenance of store, job, and line text.

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?

The description is dense but front-loaded with the core purpose, then supplies important semantic caveats. Every sentence carries useful information, though the paragraph could be slightly easier to scan if split into shorter units.

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?

Given the presence of an output schema, full schema descriptions, and read-only annotations, the description supplies the key context an agent needs: data provenance, status semantics, and reconciliation summary meaning. Nothing essential for correct invocation appears to be missing.

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 100%, so all seven parameters are already documented in the schema. The description adds useful nuance for the `open` view by emphasizing that it means not yet matched rather than unpaid, but it does not add meaning for the other parameters such as `entity_id`, `job_id`, `supplier`, `limit`, or `offset`.

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?

The description clearly identifies the resource as supplier purchases for a month, including supplier examples, per-row fields, and the reconciliation summary. It also distinguishes this data from ledger-posted transactions by stating that nothing here was posted to the ledger.

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?

The description clarifies interpretive context, notably that `status: open` means not yet matched rather than unpaid and that `summary.charges_without_receipt` represents receipts to find rather than errors. However, it does not explicitly say when to use this tool versus alternatives such as ledger, expense, or bill listing tools.

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