Skip to main content
Glama

ClockCrest time tools

Current time in a time zone

get_current_time
Read-onlyIdempotent

Current date and time in an IANA time zone, with its UTC offset, abbreviation, whether daylight saving time is in effect, and the next offset change. Use find_timezone first if you only have a city or country name.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tz": "<tz>"
    },
    "name": "get_current_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
tzYesIANA time zone name, e.g. Europe/Paris

Output Schema

NameRequiredDescriptionDefault
isoYesLocal time with its UTC offset, YYYY-MM-DDTHH:MM:SS±HH:MM
utcYesUTC instant, YYYY-MM-DDTHH:MM:SSZ
isDstYesWhether daylight saving time is in effect
localYesWall-clock time without an offset, YYYY-MM-DDTHH:MM:SS
sourceYesWhere the data or the algorithm comes from.
unixMsYesMilliseconds since 1970-01-01T00:00:00Z
timeZoneYesIANA time zone name
utcOffsetYesUTC offset, ±HH:MM
abbreviationYesShort zone name from CLDR ("CET"), or "GMT+9" where none exists
nextTransitionYes
utcOffsetMinutesYesUTC offset in minutes, east positive

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so the safety profile is covered. The description adds value beyond them by disclosing the payload contents (UTC offset, abbreviation, DST status, next offset change), which tells the agent it can answer DST questions without a second call.

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 with zero filler, and the core capability is front-loaded ahead of the routing hint. Every clause carries information the agent can act on.

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

Completeness5/5

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

For a single-parameter read tool with an output schema and full annotation coverage, nothing an agent needs to select and invoke it correctly is missing. The description plus schema plus output schema form a complete picture.

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 coverage is 100% and the schema already documents the single 'tz' parameter with an IANA example and pattern constraint. The description's 'IANA time zone' phrasing reinforces format but adds no syntax or validation detail beyond the schema, 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?

States a specific verb and resource ('Current date and time') plus the precise scope ('in an IANA time zone'), so an agent knows exactly what it returns. It does not explicitly distinguish itself from sibling convert_timezone, leaving that differentiation to be inferred from the name.

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

Usage Guidelines4/5

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

Gives a concrete prerequisite: use find_timezone first if you only have a city or country name. That is clear contextual routing, though it offers no explicit exclusion against the time-conversion sibling convert_timezone.

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.

Resources