Skip to main content
Glama
synchroteam-mcp

synchroteam-mcp

by kuzgunay

Completed jobs not invoiced

completed_jobs_not_invoiced
Read-onlyIdempotent

Finds completed jobs in a date range that have no linked invoice, helping you identify unbilled work and close billing gaps.

Instructions

Find completed (and optionally validated) jobs in a date range that have no invoice linked to them.

How it works: the Synchroteam job object has no "invoiced" flag, so this tool lists completed jobs (job/list) and invoices (invoice/list, created since date_from minus invoice_lookback_days, excluding cancelled ones), and matches them through each invoice's job reference (id, num or myId). Limits, also returned in 'caveats': invoices with no job link cannot be matched; quotations and credit notes are ignored; results are capped by max_jobs and a 5000-invoice scan.

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": {
      "date_from": "<date_from>",
      "date_to": "<date_to>"
    },
    "name": "completed_jobs_not_invoiced"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum uninvoiced jobs to list.
date_toYesEnd of the job date range (inclusive), YYYY-MM-DD.
max_jobsNoMaximum jobs to examine.
date_fromYesStart of the job date range, YYYY-MM-DD.
verify_each_jobNoDouble-check each candidate with a per-job invoice lookup (1 extra API call per candidate, max 100). Slower but catches invoices created outside the scanned window.
include_validatedNoAlso check jobs in 'validated' status (completed and approved).
invoice_lookback_daysNoAlso scan invoices created this many days before date_from (catches invoices raised before the work was finished).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/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 behavior, and the description goes well beyond them by disclosing the two-call implementation (job/list plus invoice/list), the invoice scan window and 5000-invoice cap, and the fact that unmatched invoices, quotations and credit notes are silently excluded. The remaining opacity is how the caveats surface in the response, though an output schema exists and 'caveats' is referenced.

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?

Two sentences, front-loaded with the purpose and then a compact 'How it works' rationale for the two-source matching. The caveat list is dense but every clause carries decision-relevant information for an agent interpreting results.

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 joined/derived query over two APIs, the description supplies the mechanism, the coverage limits, and the match key (job id, num or myId), while the output schema carries return shape. Nothing an agent needs to call it correctly or interpret gaps is missing.

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 the baseline is 3; the description earns above that by explaining the relationship between date_from and invoice_lookback_days (invoices scanned since date_from minus lookback) and by disclosing the 5000-invoice scan cap that interacts with max_jobs, neither of which appears in the schema.

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 and resource with a precise scope: completed (optionally validated) jobs in a date range with no linked invoice. This is inherently distinguishable from the sibling listers (list_jobs, list_invoices) because it names the join condition that defines it.

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

Usage Guidelines4/5

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

The purpose itself signals when to reach for this tool rather than a plain job or invoice list, and the description explains the mechanics an agent needs to trust the result. It stops short of explicitly naming an alternative or stating when-not to use it, so it is clear context rather than full routing guidance.

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