Skip to main content
Glama

get_current_time

Retrieves the current date and time in any IANA timezone, returning ISO 8601, Unix, or human-readable output so agents can timestamp events, schedule tasks, and measure durations accurately.

Instructions

Get the current date and time. Supports IANA timezones and multiple output formats (iso8601, unix timestamp, human-readable).

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
formatNoOutput format. iso8601 = '2026-04-08T14:30:00+08:00'; unix = 1744086600; human = 'Tuesday, April 8, 2026, 2:30 PM CST'iso8601
timezoneNoIANA timezone string, e.g. 'Asia/Taipei', 'UTC', 'America/New_York'. Omit to use system timezone.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden. The verb 'Get' plus the explicit format and timezone support make the read-only, side-effect-free nature clear, and the enumerated formats describe what the caller receives. It stops short of stating that no auth is required or that the result is non-deterministic across calls, but nothing is misleading.

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 short sentences, front-loaded with the core purpose and followed by the capability summary. No filler, no redundancy, and nothing important 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 zero-required-parameter clock tool with fully documented schema and no output schema, the description covers purpose, timezone behavior, and output formats. It could add a note on the default format or that the time is sampled at call time, but nothing essential to correct invocation is missing.

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%, so both parameters are already fully documented in the schema, including enum values and the system-timezone default. The description's mention of 'IANA timezones' and the three formats restates rather than extends that, so the baseline 3 applies.

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 ('Get the current date and time') and immediately scopes it with timezone and format support. The sibling tools (estimate_task_duration, record_task_completion) are unrelated, so no differentiation is needed and none is missing.

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?

Usage is only implied: the mention of IANA timezones and multiple output formats hints at when the tool is useful, but there is no explicit when-to-use statement, no conditions, and no named alternative. For a single-purpose clock tool the gap is minor, but the guidance is still inferred rather than stated.

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