Skip to main content
Glama

MoneyOwed

Tax discount: compute the refund

mo_calc
Read-onlyIdempotent

Computes the refund for a year deterministically: applies each category limit, the salary cap, the 18% rate and the withheld-tax cap. Returns the refund, per-category lines with legal basis, rejected items, documents, the deadline, filing steps and open_link to the same calculation on moneyowed.app. Amounts in UAH; no personal data.

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": {
      "salary_uah": "<salary_uah>",
      "expenses": "<expenses>"
    },
    "name": "mo_calc"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoYear of the expenses (reporting year). Default: last year.
expensesYes
salary_uahYesGross salary for the year, UAH.
dividends_uahNoDividends for the year, UAH (cap for diia_city).
pdfo_withheld_uahNoPersonal income tax withheld from the salary for the year, UAH, if known (otherwise estimated as 18% of salary).
taxable_income_uahNoTotal taxable income for the year, UAH (for the 4% charity limit). Default: salary.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower; the description still adds real context by stating the computation is deterministic, that amounts are in UAH, that no personal data is involved, and that invalid items come back as "rejected items" rather than as errors. It stops short of failure modes such as missing or malformed categories and says nothing about response size for up to 40 expense entries.

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, front-loaded with the computation, then the payload. The long enumeration of return fields is dense but each item is informative; the currency/no-personal-data note is a short, useful tail. Slightly list-heavy but no wasted framing.

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 and six parameters, the description carries the return-value burden and does so thoroughly: refund amount, per-category lines with legal basis, rejected items, documents, deadline, filing steps, and an open_link. What is missing is the behavioral envelope of the call itself (errors, limits, ordering with mo_categories/mo_eligibility), not the result shape.

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 coverage is 83%, so the baseline is 3; the description adds only partial meaning by mapping the rules to inputs (salary cap to salary_uah, withheld-tax cap to pdfo_withheld_uah, 18% rate to the default estimate). Nested expense fields and parameters like dividends_uah and taxable_income_uah are left entirely to the schema, and the description does not explain how the returned lines correspond to individual expense entries.

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?

"Computes the refund for a year deterministically" gives a specific verb and resource and immediately names the mechanics (category limits, salary cap, 18% rate, withheld-tax cap). It is not fully differentiated from siblings, though: the description says it also returns the deadline and filing steps, which are themselves sibling tools (mo_deadline, mo_filing_steps), leaving the agent to infer which surface to use.

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?

Usage is only implied: the tool is clearly the calculation endpoint, and "for a year" tells the agent the required temporal scope. There is no explicit when-to-use or when-not-to-use guidance relative to mo_eligibility or mo_categories, and no statement of prerequisites (e.g., run eligibility first, fetch category ids from mo_categories).

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