Skip to main content
Glama

calculate cn home purchase tax

calculate_cn_home_purchase_tax
Read-onlyIdempotent

Taxes when you buy a home: mainland China 契税 by home order and floor area. Agent, notary and lawyer fees are not included. General information only: not tax or legal advice, as of 2026-11-22.

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": {
      "price": "<price>"
    },
    "name": "calculate_cn_home_purchase_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNoCN: floor area m²
kindNoJP: new or used house
orderNoCN: home order
priceYesPurchase price
esKindNoES: used or new
frKindNoFR: ancien or neuf
regionNoES: comunidad
landAreaNoJP: land area m²
firstTimeNoUK: first-time buyer
floorAreaNoJP: floor area m²
landValueNoJP: land 固定資産税評価額
localRateNoCN: local 契税 rate as a fraction
qualifiesNoJP: meets the 住宅用 reduction conditions
additionalNoUK: will own another residential property
nonResidentNoUK: non-UK resident
buildingValueNoJP: building 固定資産税評価額
primoAccedantNoFR: first purchase of a main home
departmentRateNoFR: departmental rate as a fraction, e.g. 0.045
houseDeductionNoJP: 住宅控除額 for 不動産取得税

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/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 real context that the output excludes third-party fees and is dated general information rather than advice. It says nothing about how the calculation behaves — e.g. whether localRate overrides the statutory rate, what defaults apply when order or area are omitted, or what happens on unsupported inputs.

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 compact sentences plus a disclaimer, with the jurisdiction and basis stated up front. Every clause carries information (scope, excluded fees, as-of date); the disclaimer is boilerplate but justified for a tax calculator. No redundant restatement of the title.

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 19 mostly country-specific parameters and no output schema, the description leaves meaningful gaps: it never clarifies which subset of parameters applies to China, how localRate interacts with the statutory rate, or roughly what the result contains. The jurisdiction scoping and fee exclusion are helpful, but not enough for a schema this wide.

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 the schema already documents all 19 properties and the baseline is 3. The description does add a useful signal by tying 契税 to 'home order and floor area', pointing the agent at the order and area fields, but it omits localRate (the CN rate override) and price, and never states that the JP/ES/FR/UK parameters should be left alone.

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 verb+resource (compute 契税 on a home purchase) and scopes it to mainland China, which separates it from the sibling ES/FR/JP/UK home-purchase calculators. It also names the two determining factors, home order and floor area. It does not hint that the schema's many non-CN fields (jp/es/fr/uk parameters) are irrelevant here, so an agent still has to infer that.

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 applies when buying a home in mainland China. There is no explicit statement of when to prefer it over calculate_es/fr/jp/uk_home_purchase_tax, nor any exclusion such as 'do not use for commercial property or resale-side taxes'. The exclusions given (agent, notary, lawyer fees) are about tax scope rather than 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.