Skip to main content
Glama

SmartAccounts MCP by usefulapi

List purchase invoices

smartaccounts_list_purchase_invoices
Read-only

Purchase (vendor) invoices (purchasesales/vendorinvoices:get): number, vendor, dates, amounts, VAT, outstanding amount, optionally the rows. Filter by date, vendor, number or payment status (unpaid, overdue). Paged (100 per page). The vendor limit is 60 requests per minute and 1000 per 24 hours; every call here is one request.

Input Schema

NameRequiredDescriptionDefault
idNoA specific invoice id.
pageNoPage number, 1-based (default 1). Use next_page_number from the previous reply (100 objects per page).
date_toNoInvoices dated to, yyyy-mm-dd (or yyyy-mm-ddTHH:mm:ss, Estonian time).
date_fromNoInvoices dated from, yyyy-mm-dd (or yyyy-mm-ddTHH:mm:ss, Estonian time).
date_typeNoWhich date the range filters: invoice date (default), entry date, due date or modification time.
vendor_idNoOnly this vendor's invoices.
fetch_rowsNoInclude the invoice rows.
vendor_nameNoFilter by vendor name.
invoice_numberNoFilter by invoice number.
payment_statusNounpaid = not fully paid; overdue = unpaid and past due. Omit for all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With readOnlyHint=true already covering the safety profile, the description adds genuinely useful context: pagination size (100 per page) and the vendor quota (60/min, 1000/24h) plus the note that each call consumes one request. That quota framing is exactly the sort of operational detail annotations do not provide; it stops short of describing the response envelope, but the field list partially covers that.

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?

Four compact sentences, front-loaded with purpose and resource identifier before the filtering and rate-limit details. Dense but every clause carries information; only the field enumeration slightly overlaps with the 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?

For a 10-parameter paginated read with no output schema, the description compensates by listing returned fields and explaining pagination and quota limits. Annotations cover safety. It is close to complete; a note on how the response exposes the next page number would close the last gap.

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 all 10 parameters are already documented in the schema, including enum values and date formats. The description merely restates the filterable dimensions and does not add syntax, defaults, or interactions beyond what the schema provides, so the baseline 3 applies.

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?

States a specific verb (list) and a precisely scoped resource (purchase/vendor invoices), explicitly contrasted with the sibling sales-invoice tool via the '(vendor)' qualifier. It also enumerates the returned fields (number, vendor, dates, amounts, VAT, outstanding amount, optional rows), so an agent knows both what it fetches and roughly what comes back.

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 conveys usable filter dimensions (date, vendor, number, payment status with unpaid/overdue) but gives no explicit when-to-use guidance or routing against alternatives like list_sales_invoices. Usage is implied by the resource name rather than stated, leaving the agent to infer selection.

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.