Skip to main content
Glama

List invoice

codecks_list_invoice
Read-onlyIdempotent

Lists Codecks invoice items with filters, field selection, and pagination, returning markdown or JSON for billing review or reconciliation.

Instructions

List invoice items with optional filters and selection.

Available fields: chargeData, charged, createdAt, invoiceNumber, subtotal, total, url Relations: account

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

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
filtersNoFilter object for the query
order_byNoField to order by
selectionNoSelection array (fields/relations)
order_descNoWhether to order descending
project_idNoUnified project filter key (mapped to projectId internally)
include_deletedNoInclude deleted entities where model-specific deleted flags exist
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown
include_relationsNoAttempt safe first-level relation expansion with guarded fallback

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered by structured data. The description contributes the enumerable field set and the 'account' relation, but says nothing about default pagination, the meaning of include_deleted, or the markdown-vs-json default, all of which are behavioral choices an agent should know about.

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 front-loaded lines with no filler: the action first, then the field and relation vocabulary. The only weakness is that the field list is a flat comma run rather than grouped by entity versus relation.

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?

For a 10-parameter tool with no output schema and a nested filters object, the description covers only the selection/ordering vocabulary. Pagination defaults, filter syntax, deletion semantics and response format are left to the schema, leaving moderate gaps for an agent composing a non-trivial query.

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 description coverage is 80%, so the baseline would be 3, but the description adds genuine meaning: filters, order_by and selection are loosely or unconstrained in the schema (selection items are untyped, filters allows additionalProperties), and listing the valid fields and the 'account' relation is exactly what an agent needs to populate them. It stops short of covering project_id, include_deleted or include_relations.

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 opens with a specific verb and resource ('List invoice items') and notes optional filters and selection. That clearly distinguishes it from a single-record fetch like codecks_get_invoice, though it never names the alternative explicitly.

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 phrase 'with optional filters and selection' hints at two usage modes but gives no when-to-use guidance, no exclusions, and no routing to siblings such as codecks_get_invoice. The agent must infer from the name alone whether to list or fetch.

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