Skip to main content
Glama
Prime MCP Server

Prime MCP Server

by MikahDev

prime_get_ar_invoice

Retrieve accounts receivable invoice details by ID and optionally include related resources to inspect invoice data for financial analysis and reconciliation.

Instructions

Get accounts receivable invoice details by ID.

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": {
      "invoice_id": "<invoice_id>"
    },
    "name": "prime_get_ar_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
includesNoRelated resources to include
invoice_idYesThe invoice ID to retrieve

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. "Get" implies a read-only, non-destructive lookup, but the description says nothing about permission requirements, error behavior for unknown IDs, or whether the response is a full invoice object or a summary.

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?

A single tight sentence with the resource scope front-loaded and zero filler. It is efficient, though the brevity comes at the cost of any usage or behavior detail.

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 simple two-parameter read tool with a fully described schema, this is minimally adequate. Missing is any indication of what the returned detail contains or how the includes parameter affects the response, which matters since no output schema exists.

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 both parameters are already documented in the schema; the description only reinforces invoice_id via "by ID" and says nothing about the optional includes array of related resources. Baseline 3 applies when the schema does the heavy lifting.

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 and resource ("Get accounts receivable invoice details") and the lookup key ("by ID"), which cleanly separates it from prime_get_ap_invoice (payables) and prime_list_ar_invoices (bulk listing). It stops short of naming those siblings explicitly, but the AR-singular scope is unambiguous.

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

Usage Guidelines2/5

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

There is no when-to-use/when-not-to-use guidance: nothing tells the agent to prefer prime_list_ar_invoices when it lacks an ID, or to use prime_update_ar_invoice_status for mutations. The sole implied cue is that an invoice_id is required, which the schema already conveys.

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