Skip to main content
Glama
cn-mcp-kit

cn-mcp-kit

by yuannuo233

current_time

Get the actual current local time plus today, yesterday, and tomorrow dates so date/time and relative-time questions are answered from real data instead of guessed.

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": "current_time"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does disclose key traits: it returns the real/system clock time in the local timezone, and the payload includes today, yesterday, and tomorrow. It stops short of specifying the exact return format (epoch, ISO string, or structured object), which matters since there is no output schema.

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?

Two sentences, front-loaded with the capability and followed by the forcing condition. Every clause carries information: scope, returned dates, trigger phrases, and the no-guessing rule.

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 zero-parameter utility with no output schema, the description covers what the tool is, what it returns at a coarse level, and the mandatory call pattern. The only gap is the exact shape/format of the returned time, which an agent cannot learn from either the description or the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters and the schema is an empty object, so the description has no parameter meaning to add. Baseline 4 applies; nothing is missing or misleading on this dimension.

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

Purpose5/5

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

The description names a specific verb and resource ("获取当前真实时间") and immediately scopes it to the local timezone plus the today/yesterday/tomorrow dates it returns. An agent can distinguish this from sibling time_diff without reading any schema.

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

Usage Guidelines5/5

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

It gives an explicit trigger set ("今天几号"、"现在几点"、"刚才/昨天/上周/几天前") and an explicit prohibition ("不要凭记忆猜测日期"), plus the ordering requirement ("必须先调用本工具"). This is the strongest form of when/when-not guidance.

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