Skip to main content
Glama

Current time in a zone

current_time
Read-only

Current date, time, weekday, UTC offset, ISO week and day of year in an IANA time zone. Useful because models do not know today's date.

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
timezoneNoIANA time zone for reading and reporting local times, e.g. "America/Denver". Default UTC.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safe-read profile (readOnlyHint true, destructiveHint false), and the description adds the return payload in detail — weekday, ISO week, day of year, UTC offset — which matters because no output schema exists. It stops short of describing the string format or IANA-name validation behavior, so a 4 rather than a 5.

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?

Two compact sentences with the returned fields front-loaded and no filler. The trailing rationale sentence earns partial credit as usage context but is weaker than an actionable rule.

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-optional-parameter, no-output-schema tool, the description fully covers both what the tool does and what comes back, and the schema supplies the default for timezone. Nothing an agent needs to invoke it correctly 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 coverage is 100% and the timezone parameter is documented with an example and its UTC default, so the structured data does the heavy lifting. The description only restates 'in an IANA time zone' without adding format or edge-case semantics.

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?

The description names the concrete resource and enumerates exactly what is returned: current date, time, weekday, UTC offset, ISO week and day of year, scoped to an IANA time zone. That makes the tool unmistakable versus sibling date tools like extract_dates or normalize_timestamps, though it never explicitly contrasts itself with them.

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?

"Useful because models do not know today's date" implies when to reach for it (any time an absolute 'now' is needed), but there is no explicit when-not guidance and no sibling alternative is named or ruled out. Usage is inferable rather than stated.

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