Skip to main content
Glama

Octobooks

Open invoices and receipts

receivables
Read-onlyIdempotent

Receivables: what customers owe, with the ageing in buckets of days past due (not due, 1 to 30, 31 to 60, 61 to 90, over 90), in total and per customer. scope=all (the default) reads every posting on the customer accounts, invoices from Octobooks and entries of imported books alike, with receipts not allocated yet and whether the list agrees with the accounts to the cent; customer narrows to one name as the books carry it. scope=invoices reads only the invoices Octobooks issued (gross less credit notes less allocated receipts); customer is then a customer code. as_of (YYYY-MM-DD) shows an earlier day. Names are under 'untrusted'.

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

Input Schema

NameRequiredDescriptionDefault
as_ofNo
limitNo
scopeNoall
companyNo
customerNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so safety is covered. The description adds genuinely non-obvious behavior: it reports whether the list agrees with the accounts to the cent, surfaces receipts not yet allocated, and warns that names live under 'untrusted' (a prompt-injection safeguard). It does not discuss cost, latency, or the limit cap, which keeps it below 5.

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?

Information is front-loaded — the ageing buckets and the total-vs-per-customer framing come first, then the scope branches, then as_of. It is a single dense paragraph with no filler sentences, though the run-on syntax and mid-paragraph sentence fragments make it slightly harder to scan than a bulleted structure would be.

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?

Return values need no explanation because an output schema exists, and annotations cover the safety profile, so the description's remaining job is scope and parameter semantics — which it handles in depth, including the untrusted-names caveat. The gaps that remain (limit behavior and what company selects, relevant for a five-parameter tool) are real but secondary.

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?

With 0% schema description coverage the description must carry the weight, and it does for the three ambiguous parameters: as_of is pinned to YYYY-MM-DD, scope is defined for both values including the default, and customer is explained twice with a critical semantic shift (a name as the books carry it under scope=all, a customer code under scope=invoices). It never mentions limit (default 200) or company, leaving two of five parameters undocumented anywhere.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete verb and resource — what customers owe, aged into named buckets (not due, 1-30, 31-60, 61-90, over 90), in total and per customer. It also splits the two modes (scope=all reading every posting vs scope=invoices reading only Octobooks-issued invoices), which lets an agent distinguish it from sibling tools like list_open or open_items without opening a schema.

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

Usage Guidelines4/5

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

It gives clear selection conditions between the two internal modes: scope=all is the default and includes imported-book entries and unallocated receipts, scope=invoices is the narrower Octobooks-only gross-less-credit-notes view. It also explains when as_of matters (showing an earlier day). It stops short of saying when to reach for this over sibling tools such as open_items or accounts, so it is not a full when-to-use/when-not map.

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.

Resources