Skip to main content
Glama
WYRE-AI

Cork MCP Server

Official
by WYRE-AI

cork_get_invoices

List billing invoices to retrieve invoice UUIDs required for fetching line items. For distributors, pass partner_uuid to scope results to a specific partner.

Instructions

List billing invoices. Returns invoice UUIDs required by cork_get_invoice_line_items. If the API user is a distributor, pass partner_uuid to scope results to a specific partner.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (1-based). Defaults to 1.
page_sizeNoItems per page (max 100). Defaults to 10.
partner_uuidNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It discloses the listing behavior, the UUID output purpose, and the distributor/partner_uuid scoping nuance, but it does not mention pagination behavior, response format, or error/authorization handling.

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, each adding distinct value: what the tool lists, what it returns and why, and when a specific parameter is needed. There is no filler or redundancy.

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 simple list tool with only optional parameters, the description plus schema is enough to invoke it correctly. Minor gaps like response envelope and non-distributor partner_uuid behavior exist, but they do not block successful use.

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?

The schema already describes page and page_size, and the description adds meaning to the otherwise undocumented partner_uuid by explaining the distributor condition and scoping behavior. This compensates for the 67% schema description coverage.

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 states a specific verb ('List') and resource ('billing invoices'), then clarifies the output as invoice UUIDs needed by cork_get_invoice_line_items. This clearly distinguishes it from the sibling line-items tool.

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?

It provides concrete usage context: list invoices to obtain UUIDs for the downstream line-items tool, and if the caller is a distributor, scope with partner_uuid. It does not explicitly mention when not to use it or name a direct alternative, so it stops short of a 5.

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