Skip to main content
Glama

MiaoToolbox (妙用盒)

时区换算与跨国会议时间(妙用盒)

convert_timezone
Read-onlyIdempotent

确定性 IANA 时区换算与跨国会议工作时段规划。1) mode="convert" 将基准时间从 sourceTimeZone 转换至 1–12 个 targetTimeZones,自动识别夏令时跳空与重叠消歧;2) mode="meeting" 评估 2–12 位参与者指定日期的工作时段重合度,默认仅返回推荐黄金/可协调窗口以节省上下文(如需全天逐时段明细可设 includeSlots=true)。

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": {
      "mode": "<mode>"
    },
    "name": "convert_timezone"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo【convert/meeting】日期 YYYY-MM-DD(meeting 模式必填)
modeYes模式:convert(多城市换算)或 meeting(跨国会议时间规划)
timeNo【convert】时间 HH:mm(与 date 配合使用,默认 09:00)
dateTimeNo【convert】基准当地日期时间,如 "2026-06-15 12:00"
stepMinutesNo【meeting】评估步长:60(默认)或 30 分钟
includeSlotsNo【meeting】是否返回全天全部时段 slots 明细(默认 false,避免占用过多上下文)
participantsNo【meeting】2 至 12 位参与者时区配置
disambiguationNo【convert】夏令时重叠时刻消歧策略:earlier(默认)/ later / rejectearlier
sourceTimeZoneNo【convert】基准 IANA 时区 ID,如 Asia/Shanghai
targetTimeZonesNo【convert】1 至 12 个目标 IANA 时区 ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this is a read-only, idempotent, non-destructive, closed-world operation, so the bar is lower, and the description still adds real value: DST gap detection and overlap disambiguation, deterministic output, and a context-saving default that returns only golden/flexible windows unless includeSlots=true. It does not describe output shape or error behavior, which keeps it below a 5.

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?

Two dense sentences, front-loaded with the purpose and then numbered by mode, so an agent can parse it quickly. The parenthetical about includeSlots is justified, though there is some overlap between the mode summary and the schema descriptions.

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 10-parameter, dual-mode tool with no output schema, the description covers both modes, the key defaults, the item-count bounds, and the token-saving behavior. The gap is the exact precedence between dateTime and date+time in convert mode and the precise return structure, which leaves a small unused ambiguity.

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 description coverage is 100%, so parameter meaning is already carried by structured fields; the description mostly restates them (targetTimeZones 1–12, participants 2–12, includeSlots). It adds modest meaning by framing disambiguation as DST-overlap resolution, but this only slightly exceeds what the schema provides, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description leads with a specific verb+resource (确定性 IANA 时区换算) and then enumerates the two modes with their exact behaviors: convert maps one base time to 1–12 target zones, meeting evaluates 2–12 participants' overlapping work sessions. It is unmistakably distinct from the numeric siblings like convert_units or calculate_date.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The two modes are explicitly defined with numbered conditions selecting between them, and the includeSlots note tells the agent when to deviate from the token-saving default. It does not explicitly rule out the sibling converters, but the mode-level routing guidance is clear enough for correct selection.

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