Skip to main content
Glama

Search Invoices Tool

search-invoices
Read-only

Searches authorized invoices using bounded customer, job, status, payment, due-date, and total fields; payment links and addresses are excluded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of invoices to return.
queryNoInvoice number, customer name, email, phone, job title, or description.
job_idNoRestrict results to one job ID.
statusNoInvoice lifecycle status.
customer_idNoRestrict results to one customer ID.
payment_statusNoAuthoritative payment state, such as unpaid, pending, paid, or refunded.

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already establish that the tool is read-only and non-destructive; the description adds that it only sees authorized invoices and that payment links and addresses are excluded. However, it also claims bounding by due-date and total fields that are not backed by the schema, and with no output schema it leaves the result shape unspecified.

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?

A single sentence with the action and scope in the first clause, followed by the key exclusion. No filler or repetition of schema details.

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 6-parameter read-only search with no output schema, the description gives the search surface and exclusions but omits result format and any pointer to a sibling (e.g., get-invoice) for full invoice details. The phantom due-date/total references also leave an incomplete and slightly inaccurate picture.

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%, so the baseline applies; each parameter already has its own description in the schema. The tool description adds only a high-level grouping of customer, job, status, and payment fields, and introduces due-date/total terminology that does not map to any actual parameter.

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 names a specific operation ('Searches') and resource ('invoices'), and clarifies that it covers authorized invoices with an enumerated set of search fields. It does not explicitly distinguish itself from siblings like get-invoice or preview-invoice, and it references due-date and total fields that are absent from the input schema, which slightly blurs the boundary.

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?

No guidance is given about when to use this tool instead of alternatives such as get-invoice, preview-invoice, search-customers, or search-jobs. The field exclusions are noted, but there is no when-to-use or when-not-to-use context.

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.

TDQS

A3.6/5.0
Disambiguation4/5

Tool families are organized by resource and action (get/search/preview/reports), so most tools have a distinct purpose. A few near-overlaps exist—customer-service-requests vs search-service-requests and the many campaign preview/search tools—but descriptions generally clarify boundaries.

Naming Consistency4/5

The set consistently uses kebab-case with recognizable prefixes like get-, search-, preview-, and reports-, making intent predictable. A few noun-phrase tools (complaint-recall-risk, customer-service-requests, operations-parts, jobs-today) break the verb-first pattern, but they remain readable and grouped.

Tool Count2/5

45 tools is well beyond the 25+ threshold and creates a large surface for agents to navigate, even though the domain is broad. Many tools are narrow read-only variations (e.g., five preview-campaign tools, three reports-* tools), which inflates the count without adding fundamentally new capabilities.

Completeness4/5

As a read-only/insights server, the surface covers customers, jobs, quotes, invoices, leads, locations, service requests, reviews, campaigns, operations, and reporting with both search and detail access. Minor gaps exist—no get-* for campaign types or social drafts—but these align with the intentionally bounded, safe-read model.

Resources