Skip to main content
Glama

Taokeh MCP server

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as mcp. If you published it, claim ownership there.

Open invoices

open_invoices
Read-only

The unpaid (or part-paid) invoices for one customer, oldest first, found by customer name. Each invoice's outstanding is what it still owes, net of payments and of the live credit notes raised against it (a refunded note no longer counts). grossOutstanding is the invoice before those notes: a payment may be allocated up to it (a customer who paid the whole invoice), and anything above outstanding then stays on the credit note as the customer's refundable credit. An invoice its credit notes fully cover is not listed. outstandingBalance is the customer's net balance (these invoices less any payment received but not yet matched to one), so it can be lower than the invoices add up to (see balanceNote).

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": {
      "customer": "<customer>"
    },
    "name": "open_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
customerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the bar is lower, and the description still adds real behavior: ordering is oldest first, lookup is by customer name, and invoices fully covered by credit notes are omitted. It also explains that refunded credit notes stop counting. It does not cover what happens for an unknown customer (error vs empty list) or any result limits.

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 purpose is front-loaded correctly in the first clause, but the remainder is one dense block of nested accounting qualifiers (grossOutstanding, outstandingBalance, balanceNote) that is hard to parse in a single pass. Each sentence carries information, yet the field-by-field exposition reads better as a list and is not separated from the core purpose.

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?

With no output schema, explaining the meaning of outstanding, grossOutstanding, and outstandingBalance is genuinely needed and largely done. However, for a read tool an agent must invoke blind, the definition omits usage context, match semantics for the sole parameter, and edge-case behavior for a customer with nothing outstanding.

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 a single parameter with 0% schema coverage, so the description must carry it. "Found by customer name" does clarify how the customer argument is interpreted, but it leaves open exact vs partial matching, case sensitivity, and unknown-name behavior. That is marginal compensation for a completely undocumented parameter.

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 resource and scope: "The unpaid (or part-paid) invoices for one customer, oldest first, found by customer name." That is unambiguous about what is returned and how it is ordered. It does not name a sibling to distinguish from (e.g. ar_aging or ap_aging), so it stops short of a 5.

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 explicit when-to-use or when-not guidance, and no alternative is named. An agent must infer from the wording that this is an open-receivables lookup for a single customer rather than an aging or balance tool. The nearest comparison, ar_aging, is left unaddressed.

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