Skip to main content
Glama

輸入可請的假日天數

travel__plan_leave_2027
Read-onlyIdempotent

[2027 連假與訂票]輸入可請的假日天數,算出 2027 年最長的連休組合與要請哪幾天。

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": {
      "leave": "<leave>"
    },
    "name": "travel__plan_leave_2027"
  }
}

Input Schema

NameRequiredDescriptionDefault
leaveYes可請天數 1~10

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the agent knows this is a safe, repeatable computation. The description adds that it returns both the best date range and the specific leave days to request, which is useful output context. It does not describe the response format (e.g., whether it returns one best range or a ranked list), leaving that unstated in a tool with no output schema.

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 sentence plus a short category tag, with the input and both outputs stated in one pass. Nothing is redundant and the result ('最長的連休組合與要請哪幾天') is stated before the reader needs it.

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 one-parameter, deterministic calculation with full schema coverage and annotations covering safety, the definition supplies enough to call it correctly. The residual gap is return shape, which the description only sketches rather than specifying since no output schema exists.

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 100% and the single parameter already documents itself as '可請天數 1~10'. The description restates the same idea ('輸入可請的假日天數') without adding anything about the valid range, units, or what happens at boundary values like 10. Baseline 3 applies when the schema carries the semantics.

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 action and result: given a number of leave days, compute the longest 2027 consecutive-holiday blocks and which days to request off. The verb ('算出') and the two outputs are concrete, so an agent knows what the tool produces. It stops short of naming the near-sibling travel__get_2027_long_weekends, so the boundary between 'list long weekends' and 'optimize leave allocation' is left 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 bracketed tag '[2027 連假與訂票]' situates the tool in a travel-planning context and the phrasing implies use when you have leave budget to allocate. There is no explicit when-not or mention of an alternative such as the sibling long-weekend lister, so the agent must infer which of the two to call.

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