Skip to main content
Glama

מחשבון מס שבח

calc_capital_gains_tax_real_estate
Read-onlyIdempotent

Israeli capital gains tax on selling real estate (מס שבח), linear method, with the Tax Authority's rates and the CBS price index.

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": {
      "pb": "<pb>",
      "buy": "<buy>",
      "ps": "<ps>",
      "sell": "<sell>"
    },
    "name": "calc_capital_gains_tax_real_estate"
  }
}

Input Schema

NameRequiredDescriptionDefault
pbYesPurchase price in shekels.
psYesSale price in shekels.
buyYesPurchase month, MM/YYYY.
kindNoapt (default) or other (land, shop, office).
sellYesSale month, MM/YYYY (past or planned).
specNoinherit, gift, rights or mixed, when relevant.
costsNoPurchase costs in shekels (lawyer, broker, purchase tax).
singleNotrue if it is the seller's only apartment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive/closed-world, so the safety profile is covered. The description adds real behavioral context beyond that: it discloses the linear method and that official Tax Authority rates and the CBS index are applied. It does not say whether the result is an estimate only, how indexation is applied to the sale date, or whether the single-apartment exemption is actually calculated.

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?

A single compact sentence with the core subject front-loaded and no filler. It is a noun phrase rather than a verb-led statement, but every clause ('linear method', 'Tax Authority rates', 'CBS price index') carries information.

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

Completeness3/5

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

With 8 parameters, full schema coverage and a formula-heavy domain, the description is adequate but thin: it omits what the tool returns (single tax figure vs breakdown), whether results are estimates, and any assumption about indexation dates. These matter for a tax calculator with no output schema.

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% with 8 parameters, so the schema already explains pb/ps/buy/sell/costs/single/spec/kind. The description adds no parameter-level meaning beyond that — for instance it never clarifies how 'costs' interacts with the linear calculation or what 'spec' inheritance/gift values change. Baseline 3 is appropriate when the schema does the work.

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?

The description names the specific computation (Israeli capital gains tax / מס שבח on a real-estate sale) and even the method (linear) and data sources (Tax Authority rates, CBS price index), so the resource is unambiguous. It does not distinguish itself from related tax calculators such as calc_purchase_tax or calc_amendment_190_tax, leaving sibling differentiation to the names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the phrase 'on selling real estate' — there is no explicit statement of when to pick this over the purchase-tax or amendment-190 siblings, and no mention of preconditions (e.g. residency, exemption eligibility, that dates must precede/follow each other). No when-not guidance at all.

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