Skip to main content
Glama

时间时区查询

time_now
Read-onlyIdempotent

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

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "timezone": "Asia/Shanghai"
    },
    "name": "time_now"
  }
}

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

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds the intended query scenarios but nothing about return shape or behavior beyond what the annotations and schema already state. With the annotation bar lower, a 3 fits.

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?

The text is a single compact sentence that front-loads the action before the triggers. The appended example is slightly redundant with the schema's own examples block, but nothing is wasteful or buried.

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 simple two-parameter, zero-required read tool whose annotations and schema already cover behavior and inputs, the description is sufficient to call it correctly. There is no output schema, but the format parameter and the phrase '当前日期时间' adequately signal what comes back.

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%; both the timezone (IANA name or Chinese city name, default Asia/Shanghai) and format (iso/human) parameters are fully documented in the schema. The description's inline example merely restates an existing schema example, adding no new semantic detail, so 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 states a specific verb and resource: query the current date/time for a given timezone, and gives example triggers (what time is it, today's date, a timezone's time). It is clear on its own, but it does not differentiate itself from siblings such as world_time or timestamp_convert, which likely overlap in intent.

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?

It supplies usage triggers ('问现在几点、今天日期或某时区时间'), which implies when to call it. However, it gives no exclusions or alternative tools, so an agent cannot tell from this text whether world_time or timestamp_convert is the better choice for a given request.

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.