Skip to main content
Glama

Current local time

time_now
Read-onlyIdempotent

Get the current date and time for a place: a country (Denmark), city (Tokyo), IANA timezone (Europe/Copenhagen), abbreviation (EST) or offset (UTC+1). Returns local time, weekday, UTC offset and DST. Fresh every call. A place with several clocks returns candidates: pick one and call again. Use this for 'What time is it in Denmark right now?'.

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

Input Schema

NameRequiredDescriptionDefault
locationNoCountry name or code, city, abbreviation or offset, e.g. Denmark, DK, Tokyo, EST, UTC+1.
timezoneNoIANA timezone, e.g. Europe/Copenhagen. Used first when both fields are given. UTC when neither is given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / location / description
      Previous value: -"Country name/code or supported city, e.g. Denmark, DK, Tokyo. Use either location or timezone."New value: +"Country name or code, city, abbreviation or offset, e.g. Denmark, DK, Tokyo, EST, UTC+1."
    • changedInput schema / properties / timezone / description
      Previous value: -"IANA timezone, e.g. Europe/Copenhagen. Defaults to UTC if neither field is supplied."New value: +"IANA timezone, e.g. Europe/Copenhagen. Used first when both fields are given. UTC when neither is given."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, destructive=false and openWorld, so the safety profile is handled. The description adds genuinely new behavior: results are fresh every call (no caching), the response includes local time, weekday, UTC offset and DST, and multi-clock places return candidates that require a follow-up 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?

Front-loaded with the verb and resource, then packed with formats, return fields, ambiguity handling and an example in four tight sentences with no wasted wording. The format list overlaps the schema examples slightly but consolidates accepted inputs usefully in one place.

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?

No output schema exists, yet the description enumerates what comes back (local time, weekday, UTC offset, DST) and explains the ambiguous-place path, so an agent can call it and interpret the result without further information.

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?

Schema coverage is 100%, so the baseline is 3, but the description goes beyond the schema by spelling out the full range of accepted location forms and the candidate/re-call resolution path when a place maps to several clocks. Precedence between the two fields is stated in both places, which is the only redundancy.

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: 'Get the current date and time for a place', and enumerates the accepted place formats (country, city, IANA zone, abbreviation, offset), which is more than a restatement of the name. It does not differentiate itself from the sibling time_convert, so it stops short of a 5.

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 usage context ('Use this for What time is it in Denmark right now?') and explains how to resolve ambiguous places by picking a candidate and calling again. It never states when to use time_convert instead, so there is clear context but no exclusions.

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