Skip to main content
Glama

Kasumiaruanne

get_profit_and_loss
Read-onlyIdempotent

Tagasta kasumiaruanne perioodi kohta: tulu- ja kulukontod saldodega, tulud kokku, kulud kokku ja puhaskasum. Kasuta küsimustele „palju ma sel aastal teenisin", „mis on mu suurimad kulud", „kuu tulem". Summad EUR.

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": {
      "dateFrom": "<dateFrom>",
      "dateTo": "<dateTo>"
    },
    "name": "get_profit_and_loss"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateToYesLõppkuupäev YYYY-MM-DD (kaasa arvatud)
dateFromYesAlguskuupäev YYYY-MM-DD (kaasa arvatud)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint false and a closed world, so the safety profile is covered. The description adds useful behavioral content beyond that: the exact result composition and the currency of amounts (EUR). It does not say how an empty or partial period behaves, which keeps it below 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 short sentences with the return payload front-loaded, followed by use cases and a currency note. No filler, and each sentence carries distinct information.

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?

With no output schema, the description correctly compensates by enumerating the result fields an agent should expect. For a two-parameter, read-only reporting tool this is essentially sufficient; only edge-case behavior on empty periods is left unstated.

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% and both parameters (dateFrom, dateTo) are documented with inclusive YYYY-MM-DD semantics in the schema itself. The description only reinforces the notion of a period, adding no format or boundary detail beyond structured data, so the baseline of 3 applies.

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 uses a specific verb and resource ('Tagasta kasumiaruanne perioodi kohta') and enumerates the contents: income and expense accounts with balances, total income, total expenses, net profit. An agent knows exactly what this returns without opening the schema.

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?

Usage is grounded in three concrete example questions ('palju ma sel aastal teenisin', 'mis on mu suurimad kulud', 'kuu tulem'), which clearly signals when to reach for it. It stops short of naming alternatives such as get_balance_sheet or get_financial_summary, so the agent must infer the boundary itself.

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