Skip to main content
Glama
Prime MCP Server

Prime MCP Server

by MikahDev

prime_list_ar_invoices

Retrieve accounts receivable invoices and filter by job, client, status, or invoice date range. Use pagination and sorting to locate client or insurer invoices.

Instructions

List accounts receivable invoices (to clients/insurers). Filter by job, client, or status.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (starting from 1)
job_idNoFilter by job ID
includesNoRelated resources to include: job, client, status
order_byNoField to order by (e.g., "createdAt", "updatedAt")
per_pageNoItems per page (max 100)
client_idNoFilter by client contact ID
order_dirNoSort directionDESC
status_idNoFilter by invoice status ID
invoice_date_afterNoFilter invoices dated after
invoice_date_beforeNoFilter invoices dated before

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. 'List' implies a non-mutating read with no side effects, which is useful, but pagination behavior, permission requirements, and return shape are not addressed at all.

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?

Two short sentences with the resource statement front-loaded and the filtering scope immediately after; nothing is padded. It omits the date-range and ordering parameters, but that is a completeness issue rather than verbosity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter, fully optional list tool with no output schema and no annotations, the description covers only the primary filters. Pagination, includes, ordering, and date-range filtering are left entirely to the schema, and the absence of an output schema means the agent gets no hint about the response shape.

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 baseline is 3. The description restates three filter dimensions already documented in the schema and adds no syntax, defaults, or cross-parameter semantics beyond that.

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 uses a specific verb+resource ('List accounts receivable invoices') and parenthetically disambiguates the domain ('to clients/insurers'), which implicitly separates it from the payables sibling. It does not name a sibling tool explicitly, so it stops just short of full differentiation.

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 implied (use this to enumerate AR invoices, optionally narrowed by job, client, or status), but there is no explicit when-to-use or when-not-to-use guidance. Nothing routes the agent between this and prime_get_ar_invoice for a single invoice or prime_list_ap_invoices for payables.

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

Deploy Server

Other Tools