Skip to main content
Glama

YUDOU · Shanghai Office Leasing Data

Search listings of a building

search_listings
Read-onlyIdempotent

按 building_id 检索在租房源,可按面积区间、楼层过滤。

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": {
      "building_id": "<building_id>"
    },
    "name": "search_listings"
  }
}

Input Schema

NameRequiredDescriptionDefault
floorNo楼层关键词,如 高区、低区、20F;可选
limitNo返回条数,默认20,最大100
max_areaNo面积上限(㎡);可选
min_areaNo面积下限(㎡);可选
building_idYes楼宇 ID(必填)

Output Schema

NameRequiredDescriptionDefault
nameNo
totalNo
listingsNo
returnedNo
building_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "building_id": {
      +      "type": "string"
      +    },
      +    "listings": {
      +      "items": {
      +        "properties": {
      +          "area_band": {
      +            "type": "string"
      +          },
      +          "area_sqm": {
      +            "type": "number"
      +          },
      +          "building_id": {
      +            "type": "string"
      +          },
      +          "floor": {
      +            "type": "string"
      +          },
      +          "listing_id": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "orientation": {
      +            "type": "string"
      +          },
      +          "rent_price": {
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "returned": {
      +      "type": "integer"
      +    },
      +    "total": {
      +      "type": "integer"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed5 schema fields changed
    • addedInput schema / properties / building_id / description
      Added value: +"楼宇 ID(必填)"
    • addedInput schema / properties / floor / description
      Added value: +"楼层关键词,如 高区、低区、20F;可选"
    • addedInput schema / properties / limit / description
      Added value: +"返回条数,默认20,最大100"
    • addedInput schema / properties / max_area / description
      Added value: +"面积上限(㎡);可选"
    • addedInput schema / properties / min_area / description
      Added value: +"面积下限(㎡);可选"
  3. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered structurally. The description adds no behavioral context beyond them: nothing about result volume, pagination, or what 'available' listings mean, which is the kind of detail that would earn credit here.

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?

One compact sentence, front-loaded with the scoping key and then the optional filters; no filler. It is short to the point of under-specification rather than being verbose.

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?

An output schema exists so return values needn't be explained, and annotations cover safety. However, for a 5-parameter search tool in a dense sibling set, the description leaves the agent without guidance on relationship to get_building/search_buildings or on what a result set represents — adequate but with real gaps.

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 every parameter (floor keyword format, limit default 20 / max 100, min_area/max_area units, required building_id) is already documented in the schema. The description's mention of area-range and floor filtering only restates what the schema says, so baseline 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?

The description states a specific verb with a resource and scope: retrieve rental listings by building_id, with optional area-range and floor filters. That is clear enough to distinguish it from get_building or search_buildings at a glance, though it never explicitly names or contrasts those siblings.

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

Usage Guidelines2/5

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

It implies usage (you must already have a building_id) but gives no explicit when-to-use guidance, no exclusions, and no pointer to alternatives such as search_buildings for finding a building or get_building for its details. The agent must infer the workflow ordering.

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.