Skip to main content
Glama
merit-aktiva-mcp

merit-aktiva-mcp

by roosa-dev

get_purchase_orders

List purchase invoices awaiting approval and purchase orders filtered by period, date, status, and attachments for review.

Instructions

List purchase invoices waiting approval (Kinnitamata ostuarved) / purchase orders. Body: PeriodStart, PeriodEnd (yyyymmdd), optional DateFilter (0=off, 1=doc date, 2=created date), StatusFilter (0=off), WithAttachments (bool).

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": "get_purchase_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden; it does establish that this is a non-mutating list operation and spells out body fields and enum encodings. It says nothing about pagination, result limits, ordering, or permissions, which matters for an approval-queue listing that could be large.

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?

Two sentences, purpose first and body fields second, with no filler. The dense comma-separated field list is terse but readable, and the Estonian term is a useful disambiguator rather than noise.

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 parameterless-schema list tool with no annotations and no output schema, the description covers the inputs well but leaves the return shape, paging behavior, and the invoice-vs-order ambiguity unaddressed. It is adequate to call the tool but not complete enough to predict what comes back.

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?

The schema is a bare object with additionalProperties and no declared properties, so the description is the only source of parameter meaning. It supplies the yyyymmdd date format and the DateFilter code mapping (0=off, 1=doc date, 2=created date), though StatusFilter is only described as "0=off" without listing its other valid codes.

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?

Uses a specific verb ("List") and a specific resource narrowed by state ("purchase invoices waiting approval (Kinnitamata ostuarved) / purchase orders"), which separates it from the plain get_purchase_invoices sibling. The dual naming of the resource as both invoices and orders leaves mild ambiguity about what is actually returned.

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

Usage Guidelines3/5

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

"Waiting approval" implies the selection context (an approval queue rather than a general invoice listing), but no alternative is named and no exclusions are given. An agent must infer on its own that get_purchase_invoices is the tool for already-posted invoices.

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