Skip to main content
Glama

YUDOU · Shanghai Office Leasing Data

Search Shanghai office buildings

search_buildings
Read-onlyIdempotent

按区域、商圈、楼宇等级、关键词、标准层面积区间搜索上海办公楼/写字楼,返回匹配楼宇摘要(含可验证置信度)。适合回答“某区/某板块有哪些写字楼、什么等级、报价多少”。

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": "search_buildings"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNo商圈/板块名称,如 陆家嘴、虹桥、前滩、世博滨江;可选
limitNo返回条数,默认20,最大100
keywordNo名称/地址/标签关键词;可选
qualityNo楼宇等级,如 甲级、乙级;可选
districtNo行政区名称,如 浦东新区、长宁、徐汇、静安;可选
max_areaNo标准层面积上限(㎡);可选
min_areaNo标准层面积下限(㎡);可选

Output Schema

NameRequiredDescriptionDefault
totalNo
returnedNo
buildingsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "buildings": {
      +      "items": {
      +        "properties": {
      +          "address": {
      +            "type": "string"
      +          },
      +          "area": {
      +            "type": "string"
      +          },
      +          "building_id": {
      +            "type": "string"
      +          },
      +          "district": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "quality": {
      +            "type": "string"
      +          },
      +          "ref_price": {
      +            "type": "number"
      +          },
      +          "year": {
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "returned": {
      +      "type": "integer"
      +    },
      +    "total": {
      +      "type": "integer"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed6 schema fields changed
    • changedInput schema / properties / area / description
      Previous value: -"商圈/板块,如 陆家嘴、虹桥、前滩、世博滨江"New value: +"商圈/板块名称,如 陆家嘴、虹桥、前滩、世博滨江;可选"
    • changedInput schema / properties / district / description
      Previous value: -"行政区,如 浦东新区、长宁、徐汇"New value: +"行政区名称,如 浦东新区、长宁、徐汇、静安;可选"
    • changedInput schema / properties / keyword / description
      Previous value: -"名称/地址/标签关键词"New value: +"名称/地址/标签关键词;可选"
    • addedInput schema / properties / max_area / description
      Added value: +"标准层面积上限(㎡);可选"
    • addedInput schema / properties / min_area / description
      Added value: +"标准层面积下限(㎡);可选"
    • changedInput schema / properties / quality / description
      Previous value: -"楼宇等级,如 甲级、乙级"New value: +"楼宇等级,如 甲级、乙级;可选"
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile needs no restating. The description adds one genuinely useful behavioral detail – results carry verifiable confidence scores – but says nothing about ranking, completeness guarantees, or what happens when filters match nothing. With annotations carrying the main burden, this is a modest addition.

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 that front-loads the search dimensions and then the use case; no filler and nothing buried. It is slightly compressed – piling five filter concepts and the return description into one clause – but still readable and well-ordered.

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 seven-parameter, all-optional read-only search with a full schema, rich annotations and an output schema, the description covers purpose, filters and use case adequately. Remaining gaps (ranking order, empty-result behavior, filter combination semantics) are minor given the output schema already defines the return shape.

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 seven parameters (area, district, quality, keyword, min/max_area, limit) are already documented with examples and units in the schema. The description only restates the same filter categories without adding format, matching semantics, or AND/OR combination rules. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb (搜索) and resource (上海办公楼/写字楼) and enumerates the filter dimensions (区域、商圈、楼宇等级、关键词、标准层面积区间) plus the return type (楼宇摘要). It implicitly separates itself from listing-level siblings by returning building summaries rather than listings, but never names an alternative tool, so it falls short of full sibling differentiation.

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 concrete use contexts, which is more than implied usage. It offers no when-not conditions and does not route the agent to search_listings or get_building for adjacent needs, so it stops at clear context without exclusions.

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.