Skip to main content
Glama

时间时区查询

time_now
Read-only

查询指定时区的当前日期时间,用于问现在几点、今天日期或某时区时间。Example: {"timezone":"Asia/Shanghai"}

Input Schema

NameRequiredDescriptionDefault
formatNo输出格式:iso(默认)或 human(中文可读)iso
timezoneNoIANA 时区名(如 Asia/Shanghai)或中文城市名(如 东京),默认 Asia/ShanghaiAsia/Shanghai

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.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description only confirms it returns the current date/time for the timezone and says nothing about the actual return shape, precision, or default timezone behavior beyond the example.

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?

One short sentence plus an example – front-loaded purpose with no filler. The example duplicates the schema's own examples array, which is slightly redundant but not harmful.

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 two-parameter, zero-required, read-only lookup with no output schema, the agent has enough to call it correctly: purpose, use cases, and a timezone example. Only the missing differentiation from world_time keeps it from a 5.

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% and both parameters (format enum, timezone with Chinese-city alias) are fully documented in the schema. The description's inline example merely repeats the schema example, adding no syntax or semantics beyond it, so 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?

States a specific verb+resource: query the current date/time in a given timezone, and the title reinforces it. It does not, however, distinguish itself from the sibling world_time, which plausibly covers the same ground.

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?

Gives concrete triggering intents ("现在几点"、"今天日期"、"某时区时间"), which is clear usage context. It lacks an explicit exclusion or pointer to the overlapping world_time sibling, so it stops short of the top score.

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.