Skip to main content
Glama

superops_clients_get_invoice

Retrieve a single invoice by ID to view its line items, totals, and payment status.

Instructions

Get one invoice by ID, including its line items, totals and payment state.

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": {
      "invoiceId": "<invoiceId>"
    },
    "name": "superops_clients_get_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
invoiceIdYesThe invoice ID (required)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

A3.6/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 behavioral burden. 'Get' correctly signals a read-only, low-risk retrieval, and the description adds useful content disclosure (line items, totals, payment state). It does not mention permission requirements, behavior for an unknown ID, or any pagination/expansion controls, leaving moderate gaps.

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?

A single front-loaded sentence with the verb, the singular scope, and the returned payload. Every clause is informative and nothing is wasted.

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?

For a one-parameter read tool with a fully documented schema and no output schema, the definition supplies what the agent needs: what it fetches, keyed by what, and roughly what comes back. Only error/not-found behavior and any permission prerequisites are unstated, which is a minor gap for a simple getter.

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?

There is one required parameter and schema description coverage is 100%, so the schema already fully documents invoiceId. The phrase 'by ID' confirms the identifier's role but adds no format, sourcing, or lookup guidance beyond the schema. Baseline 3 is appropriate given the schema does the work.

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 states a specific verb and resource ('Get one invoice') and scopes it to a single record by ID, which implicitly contrasts with the sibling list tool superops_clients_list_invoices. It also names what the returned record contains (line items, totals, payment state). It stops short of naming the list sibling explicitly, so it is clear but not fully 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: an agent can infer this is the tool for fetching a single known invoice ID rather than enumerating invoices. There is no explicit when-to-use or when-not-to-use statement and no pointer to superops_clients_list_invoices for the listing case.

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