Skip to main content
Glama
chartmogul

ChartMogul MCP Server

Official
by chartmogul

list_invoices

Retrieve subscription revenue invoices from ChartMogul with filtering options for data source, customer, and validation status. Returns invoice details including line items and transactions.

Instructions

[ChartMogul API] List invoices (contain line items generating subscription revenue). LIMIT WARNING: Default limit 20. Discourage requesting more than 20 items to avoid excessive token usage. Returns invoice objects with: uuid (string: invoice UUID with inv_ prefix), customer_uuid (string), external_id (string), date (string: ISO 8601), due_date (string: ISO 8601), currency (string: 3-letter code), line_items (array: line item objects with uuid, external_id, type ("subscription" or "one_time"), subscription_uuid, subscription_external_id, subscription_set_external_id, plan_uuid, prorated (boolean), service_period_start, service_period_end, amount_in_cents (integer), quantity (integer), discount_code, discount_amount_in_cents (integer), tax_amount_in_cents (integer), transaction_fees_in_cents (integer), transaction_fees_currency, discount_description, event_order (integer), account_code), transactions (array: transaction objects with uuid, external_id, type ("payment" or "refund"), date, result ("successful" or "failed"), amount_in_cents (integer)). FILTERS: data_source_uuid, external_id, customer_uuid, validation_type ("valid", "invalid", "all"). Response includes cursor/has_more.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
data_source_uuidNo
external_idNo
customer_uuidNo
validation_typeNo
limitNo
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well by disclosing key behavioral traits: the default limit (20), pagination behavior ('Response includes cursor/has_more'), and the detailed return structure. It also mentions filtering capabilities and the types of line items included. The only minor gap is lack of explicit rate limit or authentication requirements.

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?

The description is appropriately sized and front-loaded with the core purpose and critical warning. The detailed return structure is necessary given no output schema, but the paragraph could be slightly more structured (e.g., bullet points for return fields). Every sentence adds value, with no redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (5 parameters, 0% schema coverage, no output schema, no annotations), the description is remarkably complete. It covers purpose, usage guidance, parameters, return structure, pagination behavior, and filtering options. The only minor omission is explicit error handling or authentication requirements, but overall it provides everything needed for effective tool use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully compensates by explaining all 5 parameters: it explicitly lists the four filter parameters (data_source_uuid, external_id, customer_uuid, validation_type) and provides context about the limit parameter with its default and warning. It also explains what values validation_type accepts ('valid', 'invalid', 'all').

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 clearly states the action ('List invoices') and specifies the resource scope ('contain line items generating subscription revenue'), distinguishing it from sibling tools like 'retrieve_invoice' (singular) and 'import_invoices' (write operation). It provides specific context about the API source (ChartMogul API).

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?

The description provides clear usage context with the 'LIMIT WARNING' advising against requesting more than 20 items to avoid excessive token usage, which implicitly suggests when to use this tool (for browsing/listing) versus alternatives like 'retrieve_invoice' for single-item lookups. However, it doesn't explicitly name alternatives or state when-not-to-use scenarios beyond the limit warning.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chartmogul/chartmogul-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server