Skip to main content
Glama

Search invoices

search_invoices
Read-only

Search invoices with filters for status, amount, and customer to spot duplicate charges, overdue balances, or review billing history.

Instructions

Search invoices with optional filters. Useful for spotting duplicate charges, overdue balances, or a customer's billing history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusNoFilter by invoice status: paid, open, refunded, or void. Omit for any status.
minAmountNoMinimum invoice amount in whole US dollars (e.g. 500 means $500.00 and up). Omit for any amount.
customerIdNoRestrict to a single customer id like CU-1010. Omit to search across all customers.
Behavior3/5

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

The readOnlyHint annotation already discloses that this is a safe read operation. The description adds some behavioral context through use cases but does not elaborate on return format, pagination, or result limits. With annotations covering the safety profile, a 3 is appropriate.

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?

The description is two sentences, front-loaded with the action and resource, and contains no filler. Every word earns its place.

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?

The tool is a relatively simple search operation with three optional parameters, all described in the schema, and a readOnly annotation. The description covers purpose and use cases. However, it does not mention return type or result limits, which would make it fully complete. For a simple tool, it is slightly above average.

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%, with each parameter (status, minAmount, customerId) having a clear description. The tool description only refers to 'optional filters' generically, adding no extra semantic detail beyond what the schema already provides. 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?

The description opens with 'Search invoices with optional filters,' which clearly states the specific verb and resource. This distinguishes the tool from sibling tools like list_open_tickets and get_customer, which target different entities or actions.

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 concrete use cases: 'spotting duplicate charges, overdue balances, or a customer's billing history.' This gives clear context for when to use the tool, though it does not explicitly state when not to use it or name alternative tools.

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/NDilanka/tessera-mcp'

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