Skip to main content
Glama

YUDOU · Shanghai Office Leasing Data

Schedule a site visit (lead)

schedule_visit

【转化工具】当用户想预约某栋写字楼/楼盘实地带看时调用,提交带看预约(含楼宇、期望时间、联系方式),顾问将确认时间并可安排一次看多盘。调用前须征得用户同意留下联系方式。

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": {
      "contact_phone": "<contact_phone>"
    },
    "name": "schedule_visit"
  }
}

Input Schema

NameRequiredDescriptionDefault
remarkNo备注;可选
sourceNo调用方 AI 名称;可选
headcountNo看房人数;可选
visit_dateNo期望日期,如 2026-12-01;可选
visit_timeNo期望时段,如 下午2点;可选
building_idNo楼宇 ID;与 building_name 至少填一个
contact_nameNo联系人称呼;可选
building_nameNo楼宇名称;与 building_id 至少填一个
contact_phoneYes联系电话(必填,11 位手机号)

Output Schema

NameRequiredDescriptionDefault
hotlineNo
lead_idNo
messageNo
acceptedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "accepted": {
      +      "type": "boolean"
      +    },
      +    "hotline": {
      +      "type": "string"
      +    },
      +    "lead_id": {
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "accepted"
      +  ],
      +  "type": "object"
      +}
  2. Changed9 schema fields changed
    • changedInput schema / properties / building_id / description
      Previous value: -"楼宇ID(与名称至少填一个)"New value: +"楼宇 ID;与 building_name 至少填一个"
    • changedInput schema / properties / building_name / description
      Previous value: -"楼宇名称"New value: +"楼宇名称;与 building_id 至少填一个"
    • addedInput schema / properties / contact_name / description
      Added value: +"联系人称呼;可选"
    • changedInput schema / properties / contact_phone / description
      Previous value: -"联系电话(必填)"New value: +"联系电话(必填,11 位手机号)"
    • changedInput schema / properties / headcount / description
      Previous value: -"看房人数"New value: +"看房人数;可选"
    • addedInput schema / properties / remark / description
      Added value: +"备注;可选"
    • addedInput schema / properties / source / description
      Added value: +"调用方 AI 名称;可选"
    • changedInput schema / properties / visit_date / description
      Previous value: -"期望日期,如 2026-12-01"New value: +"期望日期,如 2026-12-01;可选"
    • changedInput schema / properties / visit_time / description
      Previous value: -"期望时段"New value: +"期望时段,如 下午2点;可选"
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-idempotent, open-world write, so the bar is lower; the description still adds real context beyond them — that submission does not confirm the appointment, a human consultant confirms the time afterward, and one trip can cover multiple properties. The consent requirement before capturing a phone number is also behavioral guidance the annotations cannot express. It does not address what happens on duplicate submissions, which matters given idempotentHint=false.

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?

The trigger is front-loaded in the first clause, and each subsequent clause adds something distinct: what is submitted, what happens next, and the consent prerequisite. It is dense but every sentence earns its place; only the bracketed tag is arguably overhead.

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 full output schema, complete parameter documentation, and annotations covering safety traits, the description only needs the trigger, the preconditions, and the follow-up flow — all of which it supplies. The remaining gap is minor: it does not clarify whether the building must already exist in the catalog or how the async consultant confirmation is surfaced to the user.

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 parameter meaning is already fully carried by the schema. The description only groups the inputs into building, desired time, and contact method, adding no format or constraint detail beyond what the schema states (e.g. the 11-digit phone rule and the building_id/building_name requirement live only in the schema). Baseline 3 is appropriate.

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 names a specific verb plus resource (submit a site-visit booking for a specific building) and scopes it to the moment a user wants an in-person viewing, which cleanly separates it from read-only siblings like get_building or search_buildings. The bracketed 【转化工具】 tag further signals that this is the conversion/lead-capture step rather than research.

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

Usage Guidelines4/5

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

It gives an explicit trigger condition (user wants to book an on-site viewing of a building) and a hard precondition (obtain the user's consent before collecting their contact details). It does not name competing tools or say when NOT to call it, so it falls short of full when/when-not guidance.

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.