Skip to main content
Glama

Müügiarved

list_sales_invoices
Read-onlyIdempotent

Loetle ettevõtte MÜÜGIARVED (klientide arved). Kasuta müügiarvete, tasumata müügiarvete või klientide võlgade kohta. unpaidOnly=true = staatus pole PAID. Ühe arve ridade, kande ja laekumise jaoks kasuta get_invoice_details.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax ridade arv (vaikimisi 50, max 200)
dateToNoLõppkuupäev YYYY-MM-DD (kaasa arvatud)
statusNoStaatus: DRAFT | SENT | PAID | PENDING
dateFromNoAlguskuupäev YYYY-MM-DD (kaasa arvatud)
unpaidOnlyNoAinult tasumata müügiarved

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral rule beyond the schema: 'unpaidOnly=true = staatus pole PAID', which is a semantic definition, not just a restatement. It says nothing about ordering, pagination beyond the limit parameter, or what fields come back, so it stays at a solid 3.

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: purpose, use cases, then the alternative routing. No filler, and the distinction from the detail tool is placed last where it is most useful as a redirect.

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 read-only, zero-required-parameter list tool with full schema coverage and clear annotations, this is nearly complete; the unpaidOnly semantics and the sibling redirect cover the main ambiguities. The only gap is that with no output schema, nothing describes what a returned invoice row contains or how results are ordered.

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?

Schema coverage is 100%, so the baseline is 3. The description earns an extra point by disambiguating what unpaidOnly actually means ('status is not PAID' rather than PENDING-only), which the schema's 'Ainult tasumata müügiarved' leaves ambiguous. It adds nothing about limit, status, or the date range.

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?

States a specific verb and resource ('Loetle ettevõtte MÜÜGIARVED (klientide arved)'), and the parenthetical clarifies which invoice direction is meant. The capitalized emphasis and the pointer to get_invoice_details make it distinguishable from a purchase-invoice lister without opening any schema.

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?

Gives concrete usage contexts ('müügiarvete, tasumata müügiarvete või klientide võlgade kohta') and names the alternative for the detail case ('Ühe arve ridade, kande ja laekumise jaoks kasuta get_invoice_details'). There is no explicit exclusion clause for when list_purchase_invoices is the right pick, so it falls 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources