Skip to main content
Glama

directory

查看站内场地预约方式

get_city_booking_options
Read-onlyIdempotent

读取指定节点场地、当地时区、申请入口和当前 venueKey。不返回任何私人预约;开放申请不代表时段空闲。登录后可在网站提交,或用成员操作令牌调用 submit_city_booking。

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": {
      "cityId": "<cityId>"
    },
    "name": "get_city_booking_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityIdYes
languageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive/closed-world, and the description adds real behavioral context: the result contains no private bookings, an open application does not imply the slot is free, and submission requires either website login or a member operation token. It stops short of describing error conditions or what venueKey maps to downstream.

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?

Three sentences ordered as what-is-returned, then scope caveats, then next action — front-loaded and free of filler. Slightly dense run-on phrasing, but every clause carries information.

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?

For a two-parameter read with strong annotations and no output schema, the definition is nearly complete: it enumerates the returned fields, warns about the 'open ≠ available' misinterpretation, and gives the auth paths for follow-up. The remaining hole is parameter meaning, particularly the language enum.

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

Parameters2/5

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

Schema description coverage is 0% across two parameters, so the description must compensate and does not. '指定节点' loosely hints that cityId identifies a node, but the required cityId format/length and the language enum (zh-CN/en, presumably output language) are never explained anywhere.

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 read: '读取指定节点场地、当地时区、申请入口和当前 venueKey' — an agent knows it returns venue metadata, timezone, application entry and venueKey for a node. It distinguishes itself from submit_city_booking by naming that tool as the action after this read, but never clarifies how it differs from the similar-sounding sibling prepare_city_booking.

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: the description tells the agent what to do with the result (submit via the website after login, or call submit_city_booking with a member operation token), which routes to the next step. It never states when to call this versus prepare_city_booking, nor any precondition on when the read is useful.

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