Skip to main content
Glama

Ostuarved

list_purchase_invoices
Read-onlyIdempotent

Loetle ettevõtte OSTUARVED (tarnijate arved). Kasuta, kui kasutaja küsib ostuarvete, tasumata ostuarvete või tarnijate võlgade kohta. unpaidOnly=true tagastab tasumata (sobitamata) arved. Ühe arve ridade, kande ja makse 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_purchase_invoices"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax ridade arv (vaikimisi 50, max 200)
dateToNoLõppkuupäev YYYY-MM-DD (kaasa arvatud)
statusNoStaatuse filter, nt PENDING
dateFromNoAlguskuupäev YYYY-MM-DD (kaasa arvatud)
unpaidOnlyNoAinult tasumata (sobitamata) arved

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 company-wide scope and explains that unpaidOnly returns unmatched invoices, but says nothing about ordering, pagination behavior, or result volume beyond what the schema states.

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

Conciseness4/5

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

Three short sentences, front-loaded with the resource and followed by usage and routing. The unpaidOnly sentence partially duplicates the schema field description, which is the only wasted text.

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 zero-required-parameter list tool with a fully documented schema and no output schema, the description covers purpose, filtering intent, and the alternative tool. The only gap is return shape and pagination expectations, which are partly implied by the schema's limit description.

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 every parameter is documented in the schema itself. The description only restates the unpaidOnly semantics (already in the schema as 'Ainult tasumata (sobitamata) arved') and adds no new meaning for limit, dateFrom, dateTo, or status.

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 names a specific verb and resource ('Loetle ettevõtte OSTUARVED (tarnijate arved)') and explicitly scopes it to supplier-side invoices, which separates it from list_sales_invoices. It also names the sibling get_invoice_details and states what that tool covers instead (lines, entry, payment).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit trigger conditions ('kasuta, kui kasutaja küsib ostuarvete, tasumata ostuarvete või tarnijate võlgade kohta') and an explicit alternative for the single-invoice case. The routing decision between listing and detail lookup is fully specified.

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