Skip to main content
Glama
Zenskar MCP Server

Zenskar MCP Server

Official
by zenskar

listCreditNotes

listCreditNotes

Retrieve a paginated list of credit notes, filterable by status, invoice, or customer, using cursor-based pagination. Use it to review and manage credit notes in Zenskar billing.

Instructions

Retrieve a paginated list of credit notes. Supports cursor-based pagination. Credit note amounts are in cents.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results per page (defaults to 10).
cursorNoCursor for pagination.
statusNoFilter by status: in_progress, issued, void, or paid.
invoice_idNoFilter by invoice UUID.
customer_idNoFilter by customer UUID.
__userContextNoInternal user context for multi-tenant authentication and approval workflow

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.4

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses cursor-based pagination and the cents unit for amounts, but says nothing about read-only safety, required permissions/scopes, rate limits, sort order, or whether results are tenant-scoped.

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?

Three short sentences, front-loaded with the core action, and each one carries distinct information (what it returns, how pagination works, unit of amounts). No filler or repetition of the schema.

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 read-only list tool with fully documented parameters, the description covers purpose, pagination style, and result units, which is most of what an agent needs. It is slightly thin on result-set scoping and ordering, but no output schema exists and the main calling requirements are met.

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 description coverage is 100%, so limit, cursor, status, invoice_id, and customer_id are already documented, and the baseline of 3 applies. The description adds the meaningful currency-unit note (amounts in cents) but does not explain pagination mechanics such as how to obtain or when to stop using the cursor.

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 gives a specific verb+resource pair ("Retrieve a paginated list of credit notes"), making clear this is the collection-read counterpart to getCreditNoteById and createInvoiceCreditNote. It stops short of explicitly naming a sibling or a distinguishing scope, so an agent must infer the list-vs-single-vs-create split from the name.

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 when-to-use or when-not-to-use guidance, and no alternative is named. The only usage signal is "paginated list," which an agent infers from the tool name and schema filters rather than from any stated routing rule.

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

Deploy Server

Other Tools