Skip to main content
Glama

Tax report of a property

get_tax_report
Read-only

A property's rental-income tax report for a year, as on its Reports tab: occupancy, income, deductible expenses by box, amortization, net return with the long-term reduction (IRPF), or the company (IS) / non-resident (IRNR, Modelo 210) figures. 100% of the property — owners and their % are listed. An estimate: tell the user to check it with their tax adviser.

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": {
      "propertyId": "<propertyId>",
      "year": "<year>"
    },
    "name": "get_tax_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesFiscal year, e.g. 2025
isRatePctNoCompany only: corporate tax rate for the estimate (default 25)
propertyIdYesThe property ID

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 establish this is a read-only, closed-world operation, so the safety profile needs no restatement. The description does add genuinely useful behavior beyond them: the report covers 100% of the property with owners and their percentages listed (no owner-scoped filtering), and results are an estimate. It says nothing about computation timing, caching, or what happens for a year with no data.

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 dense sentence front-loads the resource and its contents, followed by one short caveat. Every clause earns its place by naming a distinct report section or legal regime, though the enumeration is long enough to be slightly heavy for a first read.

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 carries the burden of explaining what comes back, and it does so well by listing occupancy, income, expense boxes, amortization, and net return per regime. Remaining gaps are minor, such as currency or behavior when no fiscal data exists for the requested year.

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%, so all three parameters are already documented, including the const-constrained isRatePct (15 or 25, default 25). The description only implicitly reinforces that the rate matters for the company (IS) / non-resident (IRNR) path and that year defines the fiscal period; it adds no format or edge-case meaning beyond the schema, so the baseline 3 applies.

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 a specific resource (a property's rental-income tax report for a given year) and enumerates its distinctive contents (IRPF long-term reduction, IS, IRNR Modelo 210), which clearly separates it from income or owner-statement siblings. It is phrased as a noun phrase rather than a verb, and no sibling is named explicitly, so it stops short of a 5.

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?

There is no explicit when-to-use guidance and no routing against alternatives such as get_income_summary or get_owner_statement, which an agent could easily confuse with a tax report. The only directive is a caveat to tell the user to verify with a tax adviser, which is about output caution, not tool selection.

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.