Skip to main content
Glama

YUDOU · Shanghai Office Leasing Data

Get Shanghai office market index

get_market_index
Read-onlyIdempotent

查询上海商办实时景气指数:全市挂牌量、平均报价、价格趋势,以及各区/核心板块的挂牌量与均价。可按 district 或 area 过滤。

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_market_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNo板块,如 陆家嘴、前滩、南京西路;可选
districtNo行政区,如 浦东新区、静安、长宁;可选

Output Schema

NameRequiredDescriptionDefault
cityNo
basisNo
trendNo
districtsNo
top_areasNo
generated_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "basis": {
      +      "type": "string"
      +    },
      +    "city": {
      +      "type": "object"
      +    },
      +    "districts": {
      +      "items": {
      +        "properties": {
      +          "avg_price": {
      +            "type": "number"
      +          },
      +          "listings": {
      +            "type": "integer"
      +          },
      +          "name": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "generated_at": {
      +      "type": "string"
      +    },
      +    "top_areas": {
      +      "items": {
      +        "properties": {
      +          "avg_price": {
      +            "type": "number"
      +          },
      +          "listings": {
      +            "type": "integer"
      +          },
      +          "name": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "trend": {
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / area / description
      Previous value: -"板块,如 陆家嘴、前滩、南京西路,可选"New value: +"板块,如 陆家嘴、前滩、南京西路;可选"
    • changedInput schema / properties / district / description
      Previous value: -"行政区,如 浦东新区、静安、长宁,可选"New value: +"行政区,如 浦东新区、静安、长宁;可选"
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare that the operation is read-only, idempotent, open-world, and non-destructive, so the safety profile needs no repetition. The description adds behavior that the annotations do not cover: the data is real-time ('实时') and available at two levels of granularity: citywide and per district or core area. It says nothing about caching or latency, but for a read-only index, this is a reasonable amount of extra context.

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?

It uses two compact sentences, with the purpose and metric scope front-loaded, followed by filtering guidance. Every listed metric (挂牌量、平均报价、价格趋势、分区均价) appears to be part of the actual payload, so nothing is wasted.

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?

The tool is simple (no required parameters, and an output schema exists that already explains the return structure), so the description does not need to explain return values. It covers the metrics, freshness, and filtering behavior. The only meaningful gap is disambiguation from get_market_trend, which returns trend data that this description also claims to include.

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%: both parameters are documented with examples (陆家嘴、前滩 for area; 浦东新区、静安 for district). The description adds only the fact that either filter can be applied to narrow the index, without explaining how the result changes when district or area is supplied. Under the high-coverage baseline, a 3 is appropriate.

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 and resource ('查询上海商办实时景气指数') and enumerates the metrics returned: citywide listing volume, average asking price, price trend, and per-district/core-area volume and average price. It is clear what the tool does, but it never distinguishes itself from siblings such as get_market_trend or list_districts, even though '价格趋势' and the district breakdowns overlap with them.

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 final sentence ('可按 district 或 area 过滤') tells the agent that both parameters are optional narrowing filters, so the guidance for usage is implied. However, it does not say when to choose this tool over get_market_trend (trend-focused) or list_districts (district enumeration), and it provides no exclusions or prerequisites.

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.