Skip to main content
Glama

Escrituración · Claudio Cerón, abogado

Calcular los gastos de escrituración

calcular_gastos_escrituracion
Read-onlyIdempotent

Estima los gastos de escriturar la compraventa de una vivienda entre particulares en México: impuesto de adquisición o traslado de dominio, derechos del Registro Público, honorarios del notario según el arancel y su IVA, con las tarifas oficiales de 2026. Cubre Querétaro, Corregidora, El Marqués, San Juan del Río, Ciudad de México, Estado de México, León, Celaya, Irapuato y San Miguel de Allende. Sirve para preguntas como «¿cuánto cuesta escriturar una casa de 2.5 millones en Querétaro?».

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": {
      "lugar": "<lugar>",
      "valor_inmueble": "<valor_inmueble>"
    },
    "name": "calcular_gastos_escrituracion"
  }
}

Input Schema

NameRequiredDescriptionDefault
lugarYesDónde está el inmueble. queretaro es solo el municipio de Querétaro (la capital): de ese estado hay tarifa también para corregidora, el-marques y san-juan-del-rio, y para ningún otro municipio. El Estado de México (edomex) usa la misma tarifa en todos sus municipios; la Ciudad de México es cdmx. Para otro lugar no hay tarifa.
valor_inmuebleYesValor del inmueble en pesos mexicanos, sin centavos: el mayor entre el precio pactado, el valor catastral y el del avalúo. Solo el número, por ejemplo 2500000.

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 readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: rates are the official 2026 tariff schedule, the calculation applies only to private-party residential sales, and coverage is limited to ten specific municipalities. It stops short of saying whether the result is a total or a per-concept breakdown.

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?

Front-loads the core purpose in the first clause, then layers coverage and an example in descending priority. The recited municipality list duplicates the enum already present in the schema, which is the one place the text could be trimmed without losing routing value.

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?

For a two-parameter calculation tool with no output schema, an agent still cannot tell whether the response is a single total, a concept-by-concept breakdown with IVA separated, or includes assumptions. The input side is fully covered, but the output shape and the tax-year assumption (2026 only) are left implicit.

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%, including a detailed lugar description that already explains queretaro vs. the rest of the state and edomex's statewide tariff, so the schema does the heavy lifting. The description restates the same location list rather than adding new meaning, and adds no guidance on valor_inmueble beyond what the schema states.

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?

Names a specific verb (estima) and a precisely bounded resource: gastos de escriturar una compraventa de vivienda entre particulares en México, desglosando los conceptos que calcula (impuesto de adquisición, derechos del Registro Público, honorarios del notario e IVA). The enumeration of covered locations plus the sample question makes the scope unmistakable, so an agent can separate it from the sibling that only lists locations.

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?

Gives clear triggering context with the example question «¿cuánto cuesta escriturar una casa de 2.5 millones en Querétaro?» and implicitly restricts use to purchases between private parties. It never names the alternative tool consultar_lugares_escrituracion nor states explicitly what to do when the property falls outside the ten listed locations, so the exclusions stop short of a 5.

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