Skip to main content
Glama

reservation.modify

reservation_modify

[需要登录] 更改预约日期:按预约号改期。

鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。

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": {
      "serviceid": "<serviceid>",
      "appointmentDate": "<appointmentDate>"
    },
    "name": "reservation_modify"
  }
}

Input Schema

NameRequiredDescriptionDefault
serviceidYes
appointmentDateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / reservationId
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / serviceid
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "reservationId",
      -  "appointmentDate"
      -]New value: +[
      +  "serviceid",
      +  "appointmentDate"
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the auth requirement and the exact failure signatures (401 when unauthenticated, code=40003 plus data.bindUrl when the marketplace instance is unbound). It does not say what happens if the requested date is unavailable or whether other fields change, but the auth and error detail goes well beyond the bare schema.

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?

Front-loaded with a login-required tag, then the one-line purpose, then auth and error behavior. Dense but organized, with no filler sentences; the error-code detail is long but earns its place for a likely-authenticated call.

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?

For a two-parameter mutation tool with no annotations and no output schema, the definition covers auth and error paths but not parameter formats or what a successful change returns. It is adequate to start a call, but not complete enough to call confidently with correct date formatting.

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 0%, so both parameters (serviceid, appointmentDate) are undocumented in the schema. The description implies serviceid is the reservation number and appointmentDate is the new date, but gives no format for either string, leaving the agent to guess date syntax and identifier shape.

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?

The description names a specific verb and resource in Chinese: changing a reservation's date ('更改预约日期:按预约号改期'), with the lookup key stated as the reservation number. That is enough for an agent to distinguish it from reservation_book or reservation_cancel, though it never names a sibling explicitly.

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: call it to reschedule an existing booking, identified by reservation number. The auth prerequisites (login token or bound cloud-marketplace credential) give real context, but there is no statement of when not to use it, nor of alternatives such as cancel-and-rebook.

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