Skip to main content
Glama
MCP Server Time

MCP Server Time

by guanxiong

get_time_info

Retrieve current date and time details, including year, month, day, hour, minute, second, and weekday, for any IANA timezone or the system default.

Instructions

获取详细的时间信息,包括年、月、日、时、分、秒等

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_time_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
timezoneNo时区(例如:Asia/Shanghai, UTC)。默认为系统时区

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It reveals the returned components but says nothing about side-effect-free reads, format of the returned values, whether it reflects a single instantaneous snapshot, or timezone default behavior (that lives only in the schema).

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?

A single tight sentence with the resource stated up front and no filler. The trailing '等' ('etc.') slightly weakens precision about exactly what is returned.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a trivial one-parameter read tool this is minimally adequate: it covers what comes back but not the critical distinction from its sibling or the return format, and there is no output schema to compensate.

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?

Only one optional parameter (timezone), and schema description coverage is 100%, so the schema already explains the default-to-system-timezone behavior. The description adds no meaning beyond that, making the baseline 3 appropriate.

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

Purpose3/5

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

The description names a verb and resource ('获取详细的时间信息') and enumerates the returned components (年、月、日、时、分、秒). However, it does not distinguish this from the sibling get_current_time, and '详细的时间信息' vs 'current time' overlap is left ambiguous for the agent to resolve.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all — no indication of when to prefer this over get_current_time, no prerequisites, no exclusions. The agent must guess based on tool name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools