Skip to main content
Glama
MCP Server Time

MCP Server Time

by guanxiong

get_current_time

Retrieve the current date and time in any IANA timezone as ISO, localized, or Unix timestamp output for scheduling, logging, and time-sensitive tasks.

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_current_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNo时间格式:'iso'(ISO 8601)、'locale'(本地格式)、'timestamp'(时间戳)。默认为 'iso'
timezoneNo时区(例如:Asia/Shanghai, UTC, America/New_York)。默认为系统时区

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 provided, so the description carries the full disclosure burden. It does not state that the operation is a side-effect-free read, does not say what is returned, and does not explain default timezone behavior beyond what the schema already declares.

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 short sentence with no wasted words. It is front-loaded but so terse that conciseness shades into under-specification rather than crisp efficiency.

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 simple zero-required-parameter read tool with fully documented parameters, the description covers the core intent. It nonetheless omits return behavior and sibling differentiation, which would be useful given the existence of get_time_info.

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 the format enum and the timezone field are fully documented in the schema. The description adds no meaning beyond the structured fields, so the baseline score of 3 applies.

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 states a verb and resource ('get current date and time'), but it essentially restates the tool name get_current_time and offers no differentiation from the sibling get_time_info. An agent can guess the purpose, but cannot tell from the text why this tool is preferable to its sibling.

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 or when-not-to-use guidance, and the sibling get_time_info is never mentioned. The only usage context is implied by the wording 'current'.

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