Skip to main content
Glama

directory

生成节点预约邮件草稿

prepare_city_booking
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": {
      "city": "<city>",
      "purpose": "<purpose>"
    },
    "name": "prepare_city_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYes节点城市的名称或 ID。
peopleNo预计参加人数。未确定可留空。
detailsNo简要说明场地需求。
purposeYesoffice 为办公,event 为举办活动。
languageNo
timeWindowNo按节点当地时间写出拟预约日期及时段。未确定可留空。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, and the description reinforces this by making clear no message is sent — it drafts and the user sends it themselves. That is real added context. It stops short of saying what validation or errors occur when the node rejects email bookings.

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?

Two short sentences, front-loaded with the action and target, followed by the return behavior. There is no redundant or filler text.

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 no output schema, the description helpfully states the return shape (draft plus node page) and the human-in-the-loop step. Minor gaps remain around the language parameter and failure modes, but nothing essential for calling the tool is missing.

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 83%, so the schema already documents city, people, details, purpose, and timeWindow, including the purpose enum values. The description only loosely echoes the office/event distinction and adds nothing about the language parameter or time-window formatting constraints.

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 and resource: filling in an office or event booking request, and it scopes the target to nodes that accept email bookings. It never names a sibling such as get_city_booking_options, so differentiation is left partly to inference.

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 precondition 'nodes that accept email bookings' implies when the tool applies, but there is no explicit when-to-use versus get_city_booking_options, no guidance on what to do if a node does not accept email bookings, and no stated exclusions.

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.

Resources