Skip to main content
Glama

Qb List Invoices

qb_list_invoices
Read-onlyIdempotent

Get recent invoices with number, customer, amount, due date, and payment status. Use qb_get_invoice for full line-item details.

Input Schema

NameRequiredDescriptionDefault
max_resultsNoMaximum number of invoices to return (default 25, max 1000)
start_positionNoStarting position for pagination (default 1)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "oneOf": [
      +    {
      +      "properties": {
      +        "error": {
      +          "description": "Error code if connection not configured",
      +          "type": "string"
      +        },
      +        "message": {
      +          "description": "Error message with setup instructions",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "error",
      +        "message"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "properties": {
      +        "QueryResponse": {
      +          "description": "Array of invoices with number, customer, amount, due date, and status",
      +          "items": {
      +            "properties": {
      +              "CustomerRef": {
      +                "description": "Reference to customer",
      +                "type": "object"
      +              },
      +              "DocNumber": {
      +                "description": "Invoice number",
      +                "type": "string"
      +              },
      +              "DueDate": {
      +                "description": "Due date",
      +                "type": "string"
      +              },
      +              "Id": {
      +                "description": "Invoice ID",
      +                "type": "string"
      +              },
      +              "TotalAmt": {
      +                "description": "Total invoice amount",
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "max_results": 25
      +  },
      +  {
      +    "max_results": 50,
      +    "start_position": 26
      +  }
      +]
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, destructiveHint. Description adds value by specifying returned fields and pagination parameters, consistent with annotations.

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?

Two sentences, no wasted words. First sentence states purpose and output, second provides alternative. Highly efficient.

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?

Description covers purpose, output fields, and sibling alternative. Schema covers parameters and pagination. Near complete for a simple list tool.

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% with clear parameter descriptions. Description does not add new parameter context but is sufficient. Baseline 3 is appropriate.

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?

Description clearly states verb 'Get', resource 'invoices', and lists specific fields returned (number, customer, amount, due date, payment status). It also distinguishes from sibling qb_get_invoice for full details.

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?

Explicitly recommends qb_get_invoice for full line-item details, guiding selection between related tools. Does not explicitly state when not to use, but context is clear.

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.