Skip to main content
Glama

invoices_get

Read-onlyIdempotent

One invoice (its id, in_…, or its number) with its history, oldest first: made, issued, due, paid, voided or marked uncollectible (Stripe's), each reminder the chase drafted or why it skipped it, with links, and when a person cleared a skip. One of Mojobase's own also has own, with its lines and repeat (how it repeats, or null).

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": "<invoice>"
    },
    "name": "invoices_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
invoiceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral content: history is returned oldest first, the event kinds (made, issued, due, paid, voided, uncollectible, reminder drafted/skipped, human skip clearing), and that Mojobase-native invoices carry `own` with lines and `repeat`. It does not cover not-found behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded, but the prose is a single run-on sentence thick with parentheticals, and the closing clause about `own`, `lines` and `repeat` ('how it repeats, or null') is cryptic and reads as an afterthought. It is dense rather than wasteful, but clarity suffers.

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 no output schema, the description is thorough about what the caller receives, which is exactly the gap structured fields leave open. Missing only edge-case behavior (invalid or unknown identifier, whether errors raise or return empty).

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 0%, so the description must carry the parameter's meaning and it largely does: the single `invoice` argument accepts an id with an `in_…` prefix or an invoice number. That resolves the main ambiguity an agent would face when filling the field.

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 clearly that this fetches a single invoice, identified by id (in_… prefix) or invoice number, and enumerates what comes back (a history timeline). It is specific about the resource and scope, though it never names invoices_list as the plural counterpart, so sibling differentiation is only implicit.

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: 'One invoice' signals a single-record lookup versus the plural invoices_list sibling, but there is no explicit when-to-use statement, no exclusion, and no mention of what to do if the identifier is unknown. An agent can infer the case but must reason about it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.