Skip to main content
Glama

companies_get_company_invoices

Read-onlyIdempotent

Retrieves invoices for a specified company by ID, with optional pagination, sorting, and filtering to help agents review billing records.

Instructions

Own company invoices GET /companies/{id}/invoices

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "companies_get_company_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCompany ID
sortNo
limitNo
filterNo
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is fully covered elsewhere. The description adds nothing behavioral beyond that: no pagination behavior, no filter/sort semantics, no mention of what invoice data is returned or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is very short with no filler, and the endpoint reference is front-loaded, but the second line largely duplicates what the name already conveys. Brevity here reflects under-specification rather than efficiency.

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

Completeness1/5

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

For a five-parameter list endpoint with no output schema and 20% schema coverage, the description omits everything an agent needs: what a company invoice contains, how filter/sort strings are formed, and total vs page semantics of limit/offset.

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

Parameters1/5

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

Schema description coverage is only 20% — just 'id' is documented in the schema — leaving sort, limit, filter and offset with no descriptions, no enums, and no format hints. The description does not compensate at all, not even clarifying expected values for sort or filter syntax.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The text 'Own company invoices' essentially restates the tool name rather than stating a verb+resource; only the raw 'GET /companies/{id}/invoices' path implies it is a listing operation. It never distinguishes itself from invoice siblings such as billing_invoices_get_invoice or billing_transactions_get_list.

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?

There is no guidance on when to use this tool versus the many invoice/billing siblings, and no prerequisites or exclusions. The agent must infer usage purely from the name and HTTP path.

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

Deploy Server

Other Tools