Skip to main content
Glama

Impuestos de la compra de vivienda por comunidad (ITP y AJD)

impuestos_compra_vivienda
Read-onlyIdempotent

Tipos vigentes del ITP (segunda mano) y del AJD (obra nueva) de una comunidad autónoma o territorio foral, con los tipos reducidos y sus requisitos, la norma de origen y la fecha de la última revisión.

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": {
      "territorio": "<territorio>"
    },
    "name": "impuestos_compra_vivienda"
  }
}

Input Schema

NameRequiredDescriptionDefault
territorioYesComunidad autónoma o territorio foral donde está la vivienda. Valores: andalucia, aragon, asturias, baleares, canarias, cantabria, castilla-la-mancha, castilla-y-leon, cataluna, extremadura, galicia, madrid, murcia, la-rioja, comunitat-valenciana, alava, bizkaia, gipuzkoa, navarra.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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 the safety profile is covered. The description adds genuinely new behavioral context by disclosing the payload contents (reduced rates with requirements, source norm, revision date), which signals the data is versioned and may need recency checking. It does not state whether figures are percentages or whether missing/regional special cases are handled.

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?

A single dense sentence with zero filler: the primary subject (ITP and AJD rates per region) is front-loaded and the secondary details of the returned data follow. Nothing is repeated from the title or annotations.

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?

For a one-parameter, read-only lookup with no output schema, the description is nearly complete: it names both tax types, the regional scoping, and the fields the response carries, including the revision date. Minor gaps remain around units (percentages) and the shape of the reduced-rate/requirements information.

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?

Only one parameter, and the schema documents it at 100% coverage with a full enum list of the 19 accepted territories. The description restates the concept ('de una comunidad autónoma o territorio foral') without adding format, casing, or defaulting rules, so it does no work beyond the schema; baseline 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?

States a specific resource and scope: ITP (segunda mano) and AJD (obra nueva) rates for a given comunidad autónoma or territorio foral. It also enumerates what is returned (reduced rates plus their requirements, the source norm, the last review date), so an agent knows exactly what question this tool answers and that no sibling covers tax rates.

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 description makes clear this is the lookup for purchase-tax figures per region, but it gives no explicit when-to-use/when-not guidance and names no alternative tool or fallback (e.g., what to do for a region outside the enum). Adequate but not instructive.

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