Skip to main content
Glama
Prime MCP Server

Prime MCP Server

by MikahDev

prime_get_ap_invoice

Retrieves accounts payable invoice details by invoice ID and can include related resources, helping you inspect invoice data from Prime.

Instructions

Get accounts payable 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_ap_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

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. 'Get' implies a read, but nothing is said about permissions required, behavior on an unknown or missing ID, or whether the response covers line items and related resources.

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 front-loaded sentence with no wasted words. It is efficient, though its brevity leaves little structure beyond the core statement.

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 getter with full schema coverage, the description is minimally adequate. However, with no output schema, the meaning of 'details' and the effect of 'includes' go unexplained, which an agent would want before calling.

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 invoice_id and the includes array are documented in the schema itself. The description only echoes the ID lookup and adds no meaning about what 'includes' accepts or how it changes the response, so baseline 3 applies.

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 payable invoice details') plus the retrieval key ('by ID'), so an agent knows exactly what it returns. It does not explicitly distinguish itself from siblings like prime_list_ap_invoices or prime_get_ar_invoice, leaving that differentiation to the name.

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?

'By ID' implies the single-record use case and contrasts implicitly with list-style siblings, but no explicit when-to-use, prerequisites, or alternatives are given. An agent must infer the choice between this and listing tools from names alone.

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