Skip to main content
Glama

list_dunnings

Read-only

Dunning history: which levels went out when, to whom, with which payment deadline and fee, or why sending failed. Optional invoice_table + invoice_id, limit.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of entries to return
invoice_idNoID of the invoice
invoice_tableNoInvoice table: customer_invoices or mod_seminar_invoices (with invoice_id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / invoice_id / description
      Added value: +"ID of the invoice"
    • addedInput schema / properties / invoice_table / description
      Added value: +"Invoice table: customer_invoices or mod_seminar_invoices (with invoice_id)"
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of entries to return"
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=false), so the bar is lower. The description does add real behavior the annotations cannot: results include failed sends plus the failure reason, and each entry carries level, recipient, deadline and fee. It omits operational details such as default limit, ordering, or pagination behavior.

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?

Two compact clauses with zero filler; the payload of what a record contains is front-loaded and the parameter note follows. The telegraphic style ('Optional invoice_table + invoice_id, limit') leans slightly cryptic but costs no extra tokens.

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?

With three fully-described optional parameters, no output schema, and read-only annotations, the definition gives an agent enough to call it and interpret results, including the failure-reason field. The missing pieces are minor: no default or maximum for limit, and no indication of result ordering or volume.

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 coverage is 100%, so all three parameters are already documented, including the enum-like values for invoice_table. The description adds one useful constraint beyond the schema: invoice_table should be supplied together with invoice_id as a pair. The limit parameter and its default are not elaborated on.

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 names a specific resource (dunning history) and enumerates the fields returned: level sent, timestamp, recipient, payment deadline, fee, and failure reason. That is far more informative than the bare name 'list_dunnings' and distinguishes it from adjacent invoice tools. It stops short of a clean verb-plus-resource statement, relying on the noun phrase 'Dunning history' to imply listing.

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?

The only usage signal is 'Optional invoice_table + invoice_id', which hints at filtering but never says when an agent should filter versus list everything, nor when to reach for a sibling invoice/dunning tool instead. There is no when-not-to-use guidance and no note on whether the unfiltered call is expensive or returns all records.

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.