Skip to main content
Glama

Kategoriseerimise ettepanek

propose_transaction_categorization

Loo KINNITAMATA ettepanek pangatehingu kategoriseerimiseks kontole (või jaotusena mitmele kontole). See EI muuda midagi — kasutaja kinnitab või lükkab ettepaneku vestluspaneeli kaardilt tagasi. Kasuta, kui kasutaja palub tehingu kategoriseerida või kui soovitad ise õiget kontot. ENNE ettepanekut uuri tehing läbi (get_transaction_details, kontoplaan) ja põhjenda kontovalikut rationale-väljas. Ära tee sama tehingu kohta mitut ettepanekut. Arvega sobitatud tehingut muuta ei saa.

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>",
      "rationale": "<rationale>"
    },
    "name": "propose_transaction_categorization"
  }
}

Input Schema

NameRequiredDescriptionDefault
splitsNoJaotus mitmele kontole. Ridade summad (EUR, positiivsed) peavad kokku võrduma tehingu summaga.
rationaleYesLühike eestikeelne põhjendus kasutajale, miks just see konto (kuvatakse kinnituskaardil).
accountCodeNoSihtkonto KOOD firma kontoplaanist (nt 5200). Kasuta seda VÕI splits, mitte mõlemat.
transactionIdYesTehingu id (list_transactions / get_transaction_details tagastatud id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations by explaining that nothing is mutated, that the user confirms or rejects from a chat-panel card, and that invoice-matched transactions are immutable. The 'does not change anything' wording is about financial data, not the proposal record, so it does not contradict readOnlyHint=false.

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?

Front-loads the key fact (unconfirmed proposal, no mutation), then usage, then preconditions and constraints. Dense but every sentence carries actionable information with no filler.

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

Completeness5/5

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

For a 4-parameter proposal tool with full schema coverage and no output schema, the description covers effect, confirmation flow, prerequisites, and edge cases. Nothing an agent needs to invoke it correctly is missing.

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 adds real meaning by requiring the rationale to be a short Estonian justification shown on the confirmation card and by directing the agent to research before choosing an account. It does not restate the accountCode-vs-splits exclusivity, which the schema already covers.

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: creating an UNCONFIRMED categorization proposal for a bank transaction, optionally as splits across accounts. The 'proposal, not a mutation' framing plus the invoice-matched exclusion clearly separates it from siblings like propose_invoice_match.

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?

Explicit when-to-use (user asks to categorize, or agent recommends an account), explicit preconditions (investigate via get_transaction_details and the chart of accounts first), explicit prohibitions (no duplicate proposals for the same transaction, no changes to invoice-matched transactions).

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