Skip to main content
Glama

YUDOU · Shanghai Office Leasing Data

Get building profile

get_building
Read-onlyIdempotent

按 building_id 或名称获取单栋楼宇的完整公开资料,含背景故事、建筑参数与可验证信息 provenance。

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

Input Schema

NameRequiredDescriptionDefault
nameNo楼宇名称;与 building_id 至少填一个
building_idNo楼宇 ID(来自 search_buildings 结果);与 name 至少填一个
listings_limitNo附带房源的条数上限,默认10
include_listingsNo是否同时返回在租房源,默认 false

Output Schema

NameRequiredDescriptionDefault
bizNo
latNo
lngNo
areaNo
descNo
nameYes
rateNo
tagsNo
yearNo
metroNo
ac_24hNo
ac_typeNo
addressNo
parkingNo
qualityNo
districtNo
elevatorNo
height_mNo
developerNo
ref_priceNo
net_heightNo
provenanceNo
building_idYes
contact_tagNo
price_basisNo
registrableNo
facade_imageNo
floors_totalNo
property_feeNo
contact_phoneNo
listings_countNo
selling_pointsNo
property_companyNo
standard_floor_areaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "ac_24h": {
      +      "type": "string"
      +    },
      +    "ac_type": {
      +      "type": "string"
      +    },
      +    "address": {
      +      "type": "string"
      +    },
      +    "area": {
      +      "type": "string"
      +    },
      +    "biz": {
      +      "type": "string"
      +    },
      +    "building_id": {
      +      "type": "string"
      +    },
      +    "contact_phone": {
      +      "type": "string"
      +    },
      +    "contact_tag": {
      +      "type": "string"
      +    },
      +    "desc": {
      +      "type": "string"
      +    },
      +    "developer": {
      +      "type": "string"
      +    },
      +    "district": {
      +      "type": "string"
      +    },
      +    "elevator": {
      +      "type": "string"
      +    },
      +    "facade_image": {
      +      "type": "string"
      +    },
      +    "floors_total": {
      +      "type": "integer"
      +    },
      +    "height_m": {
      +      "type": "string"
      +    },
      +    "lat": {
      +      "type": "string"
      +    },
      +    "listings_count": {
      +      "type": "integer"
      +    },
      +    "lng": {
      +      "type": "string"
      +    },
      +    "metro": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "net_height": {
      +      "type": "string"
      +    },
      +    "parking": {
      +      "type": "string"
      +    },
      +    "price_basis": {
      +      "type": "string"
      +    },
      +    "property_company": {
      +      "type": "string"
      +    },
      +    "property_fee": {
      +      "type": "number"
      +    },
      +    "provenance": {
      +      "type": "object"
      +    },
      +    "quality": {
      +      "type": "string"
      +    },
      +    "rate": {
      +      "type": "string"
      +    },
      +    "ref_price": {
      +      "type": "number"
      +    },
      +    "registrable": {
      +      "type": "string"
      +    },
      +    "selling_points": {
      +      "type": "array"
      +    },
      +    "standard_floor_area": {
      +      "type": "integer"
      +    },
      +    "tags": {
      +      "type": "array"
      +    },
      +    "year": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "building_id",
      +    "name"
      +  ],
      +  "type": "object"
      +}
  2. Changed4 schema fields changed
    • addedInput schema / properties / building_id / description
      Added value: +"楼宇 ID(来自 search_buildings 结果);与 name 至少填一个"
    • changedInput schema / properties / include_listings / description
      Previous value: -"是否同时返回在租房源"New value: +"是否同时返回在租房源,默认 false"
    • addedInput schema / properties / listings_limit / description
      Added value: +"附带房源的条数上限,默认10"
    • addedInput schema / properties / name / description
      Added value: +"楼宇名称;与 building_id 至少填一个"
  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 cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the description's only added behavior is that results include provenance/verifiable information. It says nothing beyond that about permissions, missing-record behavior, or the optional listings payload — acceptable since an output schema exists, but not generous.

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 the resource and identifier options front-loaded and zero filler. Nothing could be removed without losing information.

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?

With a rich annotation set, a fully described 4-parameter schema, and an output schema, the description only needs to convey scope and identifier choice — which it does. The minor gap is that it never signals the failure mode when neither name nor building_id is supplied, though the schema carries that constraint.

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 the schema already states 'at least one of name/building_id' and the defaults for include_listings and listings_limit. The description only restates the id-or-name selector and adds no semantics for the two listing-related parameters, so the baseline of 3 applies.

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 a tightly scoped resource (单栋楼宇) plus the identifier keys, which separates it from the plural-listing siblings like search_buildings. It does not explicitly name a sibling it is not, so it falls short of 5, but the single-entity scope is unmistakable.

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?

The description implies the lookup use case via 'by building_id or name' but never says when to prefer this over search_buildings or the comparison tools. Usage must be inferred from the identifier requirement rather than stated as a when/when-not rule.

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.