Skip to main content
Glama

Sobivad arved

get_match_candidates
Read-onlyIdempotent

Tagasta pangatehingule sobivad ostu- ja müügiarved — sama järjestus mis Uuno Sobitamise tööruumis: summa vaste (exact = sendi täpsusega, fx = välisvaluuta kursivahega, due = ettemaksuga arve tasumisele kuuluv summa, none = ei klapi), osapoole signaalid (IBAN, nimi, viitenumber, varasemad sobitused), kuupäevavahe ja kindlus. combo = üks makse katab täpselt mitu sama osapoole arvet. Kasuta enne propose_invoice_match-i.

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": {
      "transactionId": "<transactionId>"
    },
    "name": "get_match_candidates"
  }
}

Input Schema

NameRequiredDescriptionDefault
transactionIdYesTehingu id (list_transactions tagastatud id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds real value beyond that by explaining ranking inputs — amount match type (exact/fx/due/none), counterparty signals, date window, confidence — and the special 'combo' case where one payment covers multiple invoices, which the agent otherwise could not know.

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?

The core action and ordering claim are front-loaded, followed by compact parenthetical definitions of the match-type enum values and the combo case. The sentence is long and dense but every clause carries information; only the framing about Uuno's workspace could be trimmed.

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?

There is no output schema, so the description must convey return composition, and it does: candidate invoices, match-type taxonomy, counterparty signals, date window, confidence and multi-invoice combos. It is complete enough to call correctly, though it says nothing about result limits or what an empty result means.

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?

With a single parameter at 100% schema coverage, the schema fully documents transactionId. The description adds nothing about the parameter itself, which is acceptable at this baseline; it neither misleads nor enriches parameter meaning.

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: return purchase and sales invoices that match a bank transaction, and even names the ordering source (Uuno's matching workspace). It is clearly distinguishable from propose_invoice_match, which the description positions as the following step.

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?

Explicit sequencing guidance: 'Kasuta enne propose_invoice_match-i' tells the agent this is the discovery step preceding the proposal step. It does not state when not to use it or what to do if no candidates come back, so it stops short of full alternatives coverage.

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