Skip to main content
Glama

世界时间时区

world_time
Read-only

查询指定时区的当前日期时间、星期与夏令时状态。Example: {"timezone":"Asia/Shanghai"}

Input Schema

NameRequiredDescriptionDefault
timezoneYesIANA 时区名,如 Asia/Shanghai、America/New_York、Europe/London

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "timezone": "Asia/Shanghai"
      +  }
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and destructiveHint=false, and the description adds genuine value by disclosing the return content (date/time, weekday, DST status), which matters since there is no output schema. It does not mention format details or any timezone-validation behavior, keeping it short of 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence stating the capability plus a compact example payload — nothing wasted and the core purpose is front-loaded.

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 single-parameter read-only lookup, the description plus annotations plus a fully documented schema cover nearly everything needed to call it correctly. The only real gap is sibling differentiation against time_now and any note on how invalid IANA names are handled.

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%: the timezone parameter is documented with IANA naming and three concrete examples. The description repeats the same example without adding new semantics such as accepted aliases, offsets, or error behavior for invalid zones, so the schema does the heavy lifting and the baseline 3 applies.

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+resource (查询指定时区) and enumerates what is returned: current date/time, weekday, and DST status. It is clear what the tool does, but it never distinguishes itself from the sibling time_now, so an agent cannot tell which one to pick from the text alone.

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: 'query the current time of a given timezone' suggests calling it when a specific zone's local time is needed. There is no explicit when-to-use, no exclusion, and no mention of the obvious alternative time_now, leaving routing entirely to inference.

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.