Skip to main content
Glama

Tehingu detailid

get_transaction_details
Read-onlyIdempotent

Tagasta ÜHE pangatehingu täisdetailid: kirjendatud konto, raamatupidamiskanne (deebet/kreedit read) ja seotud record (sobitatud ostu-/müügiarved, paaristehingud, korrigeerimised). Kasuta, kui kasutaja küsib, mis kontole tehing kanti, kas tehing on õigesti kategoriseeritud või millega makse sobitati. transactionId saad list_transactions tulemuse id-väljast.

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_transaction_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
transactionIdYesTehingu id (list_transactions tagastatud id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/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 genuine context the annotations cannot: the payload includes accounting entries and cross-referenced matches, which tells the agent this is a deep single-record lookup rather than a shallow field read. It does not discuss size limits or whether unmatched transactions return empty sections, which keeps it from a 5.

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 sentences ordered as: what it returns, when to call it, where the argument comes from. No filler, no restatement of the tool name, and the parenthetical examples of linked records are dense rather than redundant.

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 single-parameter read tool with no output schema, the description carries exactly the missing weight: it describes the shape of the response in prose and names the prerequisite tool. An agent can decide to call it and construct the argument without further clarification.

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 required parameter at 100% schema coverage, the schema baseline is already a 3. The description goes beyond it by stating where the value comes from ('transactionId saad list_transactions tulemuse id-väljast'), which prevents the agent from guessing at an ID format or sourcing it elsewhere.

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 full details of ONE bank transaction') and enumerates what 'details' means: the posted account, debit/credit accounting lines, and linked records such as matched invoices and paired transactions. The 'ONE' scope marker plus the reference to list_transactions makes it unambiguously distinct from sibling listing tools.

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?

Gives three concrete triggering questions (which account was it posted to, is it categorized correctly, what was the payment matched with), which maps directly onto the three categories of data returned. It also names the sibling tool that produces the required ID, closing the loop on prerequisite discovery.

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