Skip to main content
Glama

YUDOU · Shanghai Office Leasing Data

Compare candidate office options

compare_options
Read-onlyIdempotent

专家级多方案横向对比:对多个候选统一做净租金测算,按含物业月均总成本排序,输出对比表、结论与分业主类型的风险提示。

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": {
      "options": "<options>"
    },
    "name": "compare_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsYes候选方案数组(必填,2~8 个),每项含 label, building_id, daily_rate, area, lease_months, free_rent_months, property_fee, owner_type

Output Schema

NameRequiredDescriptionDefault
risksNo
comparisonNo
conclusionsNo
option_countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "comparison": {
      +      "items": {
      +        "properties": {
      +          "area": {
      +            "type": "number"
      +          },
      +          "building_id": {
      +            "type": "string"
      +          },
      +          "free_rent_months": {
      +            "type": "integer"
      +          },
      +          "label": {
      +            "type": "string"
      +          },
      +          "monthly_list": {
      +            "type": "integer"
      +          },
      +          "net_daily": {
      +            "type": "integer"
      +          },
      +          "net_monthly": {
      +            "type": "integer"
      +          },
      +          "owner_type": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "conclusions": {
      +      "type": "array"
      +    },
      +    "option_count": {
      +      "type": "integer"
      +    },
      +    "risks": {
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed9 schema fields changed
    • changedInput schema / properties / options / description
      Previous value: -"方案数组,每项含 label, building_id, daily_rate, area, lease_months, free_rent_months, property_fee, owner_type"New value: +"候选方案数组(必填,2~8 个),每项含 label, building_id, daily_rate, area, lease_months, free_rent_months, property_fee, owner_type"
    • changedInput schema / properties / options / items / properties / area / description
      Previous value: -"面积 ㎡"New value: +"面积(㎡,必填)"
    • changedInput schema / properties / options / items / properties / building_id / description
      Previous value: -"楼宇ID"New value: +"楼宇 ID;可选"
    • changedInput schema / properties / options / items / properties / daily_rate / description
      Previous value: -"挂牌单价 元/㎡/天"New value: +"挂牌单价(元/㎡/天,必填)"
    • changedInput schema / properties / options / items / properties / free_rent_months / description
      Previous value: -"免租月数"New value: +"免租月数,默认 0"
    • changedInput schema / properties / options / items / properties / label / description
      Previous value: -"方案名称"New value: +"方案名称(必填)"
    • changedInput schema / properties / options / items / properties / lease_months / description
      Previous value: -"合同总月数"New value: +"合同总月数(必填)"
    • changedInput schema / properties / options / items / properties / owner_type / description
      Previous value: -"业主类型"New value: +"业主类型:开发商 / 二房东 / 私人业主"
    • changedInput schema / properties / options / items / properties / property_fee / description
      Previous value: -"物业费 元/㎡/月"New value: +"物业费(元/㎡/月)"
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, lowering the bar. The description adds real value beyond that: it discloses the computation (net rent), the sort key (monthly total cost including property fee), and the output contents (table, conclusion, owner-type risk tips). It stops short of noting edge cases such as missing property_fee or default handling.

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 front-loaded sentence leads with the operation type, then the mechanics, then the outputs. Every clause carries distinct information with no filler.

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 an output schema present, the description need not enumerate return fields, and it adequately covers the algorithm and result categories. Minor gaps remain around assumptions (e.g., how absent property_fee or owner_type is treated, ordering ties), but nothing essential to invoking it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description goes further by explaining that property fee is folded into the cost ranking ('含物业月均总成本') and that owner type drives risk-tip output ('分业主类型的风险提示'), clarifying how these optional params affect results beyond their schema definitions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific operation: uniform net-rent calculation across multiple candidates, sorting by monthly total cost including property fee, and producing a comparison table with conclusion and owner-type risk notes. The batch-comparison scope ('多方案横向对比') inherently distinguishes it from single-rent siblings like calculate_monthly_rent or advise_net_rent.

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 phrase '对多个候选' and the schema's 2-8 range imply the tool is for comparing a set of options, giving usable context. However, it never explicitly states when to prefer this over the single-option rent tools, and gives no exclusions or prerequisites, so guidance is implied rather than spelled out.

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.