Skip to main content
Glama

YUDOU · Shanghai Office Leasing Data

Get office price trend

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

Input Schema

NameRequiredDescriptionDefault
areaNo板块;可选,需与 district 同用
districtNo行政区;可选,缺省为全市

Output Schema

NameRequiredDescriptionDefault
cityNo
trendNo
generated_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "city": {
      +      "type": "object"
      +    },
      +    "generated_at": {
      +      "type": "string"
      +    },
      +    "trend": {
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / area / description
      Previous value: -"板块,可选"New value: +"板块;可选,需与 district 同用"
    • changedInput schema / properties / district / description
      Previous value: -"行政区,可选"New value: +"行政区;可选,缺省为全市"
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and openWorldHint, so the safety profile is covered. The description adds the return contents (listing volume, average price, direction) and the meaning of the direction values, which is useful. It omits anything about data freshness or the time window of the trend, which matters for a trend query.

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 front-loaded sentence covering purpose, geography, and return values with no filler. It is dense and readable, though slightly crowded by mixing geographic scoping and return fields in the same clause.

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?

Output schema exists and annotations are rich, so return format and safety need little elaboration. However, a 'trend' tool with no time/period parameter and no statement about the observation window or data recency leaves a real gap, and it never points to list_districts for valid district/submarket values.

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 coverage is 100%, and the schema already documents that area requires district and that district defaults to city-wide, so the description adds little new parameter meaning. Its only contribution is framing the three-level geographic hierarchy. 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+resource (query Shanghai commercial/office price trend and direction) and defines the scope: city-wide, a district, or a submarket. It also names the direction vocabulary (up/down/flat), so the agent knows what kind of answer to expect. It does not, however, distinguish itself from plausible siblings such as get_market_index or assess_price, so it stops short of a 5.

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?

Usage is only implied through the granularity options (city / district / submarket), which hints at how to call it but not when to prefer it over get_market_index, assess_price, or compare_options. There are no explicit when-to-use or when-not-to-use statements and no mention of prerequisites or alternatives.

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.