Skip to main content
Glama

open深楼市 · Shenzhen Real Estate Open Data

sz_resale_deals

Read-onlyIdempotent

查询深圳二手房小区公开成交样本明细(中原/Q房/房天下等商业平台挂出样本,非住建局全量网签;全市二手住宅网签总量请用 sz_market_overview)。支持按自然年或 from/to 日期筛选,以及 limit/offset 翻页。单次最多返回 200 条。若要做全年小区排行、按月均价等汇总,请用 sz_stats_aggregate。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sz_resale_deals"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo可选:小区名称、片区或户型,如“华润城”、“香蜜湖”、“3室”
toNo可选:结束成交日期 YYYY-MM-DD
fromNo可选:起始成交日期 YYYY-MM-DD
yearNo可选:按自然年筛选,如 2026;若同时传 from/to,以 from/to 为准
limitNo单次返回条数,最大 200
offsetNo翻页偏移,从 0 开始
periodNo时间周期:all全部样本、week近7日成交与周榜、month近30日成交与月榜;若传 from 或 to,则优先按日期范围筛选all
districtNo可选:行政区,如“南山”、“福田”、“宝安”、“龙华”

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), yet the description still adds genuinely useful behavior: the data is a non-exhaustive commercial sample rather than official census data, the per-call result ceiling is 200, and from/to takes precedence over year. The provenance caveat materially affects how an agent should present or trust the results, which annotations cannot convey.

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?

It is very densely structured: scope, data-source caveat, filtering/paging support, cap, then alternatives — front-loaded with the most consequential distinction. Minor redundancy remains, since the limit/offset paging and the from/to-over-year precedence are already stated in the schema.

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 an 8-parameter, all-optional read tool with no output schema, the description covers what the tool returns at a conceptual level (transaction sample records) and the volume ceiling, which is the main risk an agent faces. It does not describe the shape or fields of a returned record, so an agent still cannot say what columns to expect in the output.

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%, and every parameter is documented there, including the year-vs-from/to precedence rule and the period-vs-date-range rule. The description restates those same precedence rules without adding new meaning such as query syntax examples or how q matches across community, district, and layout fields.

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?

The description names a specific verb and resource (query Shenzhen second-hand community-level transaction sample details) and immediately qualifies the data source: samples posted on commercial platforms, not the full housing-bureau online-signing census. This qualifier alone lets an agent distinguish it from sz_market_overview without opening either schema.

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

Usage Guidelines5/5

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

It routes agents to two named siblings under specific conditions: use sz_market_overview for city-wide second-hand residential online-signing totals, and use sz_stats_aggregate for yearly community rankings or monthly average prices. The 200-row cap is also stated, which tells an agent when to paginate rather than expect a full dump.

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