Skip to main content
Glama
synchroteam-mcp

synchroteam-mcp

by kuzgunay

List invoices

list_invoices
Read-onlyIdempotent

Retrieve and filter paginated invoices by status, customer, site, job, or date, including totals and linked customer/site/job details.

Instructions

List invoices with status (draft, new, sent, late, paid, cancelled), totals and the linked customer/site/job. API default order is by number, descending. Amounts carry no currency field in the API. Paginated.

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_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1.
sortNo
statusNo
job_numNoOnly invoices linked to this job number.
site_idNoOnly invoices for this site id.
job_my_idNoOnly invoices linked to this job myId.
page_sizeNoResults per page, 1-100 (API maximum is 100).
paid_sinceNoOnly records changed/created after this date-time (YYYY-MM-DD[ HH:MM]); the API documents these filters as UTC.
sort_orderNo
customer_idNoOnly invoices of this customer id.
changed_sinceNoOnly records changed/created after this date-time (YYYY-MM-DD[ HH:MM]); the API documents these filters as UTC.
created_sinceNoOnly records changed/created after this date-time (YYYY-MM-DD[ HH:MM]); the API documents these filters as UTC.
customer_my_idNoOnly invoices of this customer myId.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world, so the safety profile is covered. The description still earns credit by disclosing three things annotations cannot: the API's default sort (number, descending), that pagination applies, and that amounts carry no currency field - a genuine data-interpretation trap an agent would otherwise hit.

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?

Four short sentences, front-loaded with what is returned, then ordering defaults, then the currency caveat, then pagination. No filler and every sentence carries information an agent can act on.

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?

With an output schema present, return shape need not be explained; with annotations present, safety need not be explained. Given 13 optional filters, the description covers ordering, pagination and the currency caveat well, though it leaves the interaction between the several since-based and job/site/customer id filters to the schema.

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?

At 77% schema description coverage the schema largely documents itself, so the baseline applies. The description's only parameter-adjacent content is duplicating the status enum values, and it is silent on the ambiguous pairs (sort vs sort_order, changed_since vs created_since) that would benefit most from explanation.

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?

States a specific verb+resource ('List invoices') and even enumerates the fields returned (status, totals, linked customer/site/job), so it is clearly distinct from get_invoice. It stops short of naming any sibling (e.g. get_invoice for full detail, list_jobs for job-side views), so it is clear but not perfectly differentiated.

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?

Usage is only implied: the presence of 'Paginated' and status/filter context signals a browse-and-filter tool, but there is no explicit when-to-use or when-not-to-use statement, and no pointer to get_invoice for single-record detail. Adequate inference, no real guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.