calc_sleep_times
依 90 分鐘睡眠週期計算建議就寢或起床時間,附各年齡建議睡眠時數。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bed | No | HH:MM | |
| wake | No | HH:MM | |
| latency | No |
依 90 分鐘睡眠週期計算建議就寢或起床時間,附各年齡建議睡眠時數。
| Name | Required | Description | Default |
|---|---|---|---|
| bed | No | HH:MM | |
| wake | No | HH:MM | |
| latency | No |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden, and it does disclose the underlying method (90-minute sleep cycles) and that output includes age-based sleep-hour recommendations. However, it does not say what happens when both or neither of bed/wake are supplied, nor how latency (sleep-onset time) factors in.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, well-front-loaded sentence that packs the algorithm, the two output modes, and the supplementary output into minimal text. Nothing is wasted, though it is slightly dense for the amount of missing parameter guidance.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, and the description helpfully notes what the result contains (recommended times plus age-based sleep hours). Still, with three parameters, no annotations, and an unexplained 'latency' input, the definition leaves real gaps for an agent to fill.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is only 67% and the undocumented parameter is 'latency', which the description never mentions or explains. It also fails to clarify that 'bed' and 'wake' are mutually alternative inputs, so the description adds little meaning beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description gives a specific verb and resource ('依 90 分鐘睡眠週期計算建議就寢或起床時間') plus an extra output detail (age-based recommended sleep hours). No sibling tool deals with sleep, so it is distinguishable from the list, though it never explicitly contrasts itself with an alternative.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Implying that the user supplies either a bedtime or a wake time ('就寢或起床時間') gives an implicit hint at usage, but there is no statement of when to prefer one mode, no prerequisites, and no alternatives mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.