Skip to main content
Glama

Current time

current-time
Read-only

Retrieves the current time in a specified IANA time zone, defaulting to UTC, to provide accurate timestamps for scheduling or logging.

Instructions

Return the current time in an IANA time zone.

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 example Asia/ShanghaiUTC

Output Schema

NameRequiredDescriptionDefault
isoYes
timeZoneYes
formattedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and idempotentHint=false, so the safety profile is covered without description text. The description adds no explicit behavioral notes (that repeated calls yield different values, or that the zone is validated), though 'current time' implicitly conveys the non-idempotent nature. Adequate but adds little beyond the structured data.

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?

A single front-loaded sentence with no filler, hedging, or redundant restatement of the title. Every word (verb, resource, zone qualifier) contributes information an agent needs.

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?

The tool is trivial: one optional parameter with full schema documentation, an output schema that covers the return value shape, and annotations that cover the safety profile. Nothing an agent needs in order to call it correctly is missing from the definition.

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%: timeZone is documented with a default of UTC and an example (Asia/Shanghai). The description merely restates the IANA zone requirement, adding no format, validation, or fallback detail the schema lacks, so the baseline of 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 states a specific verb ('Return') and resource ('the current time') plus the scope qualifier ('in an IANA time zone'). This is unambiguous and clearly distinct from every sibling (task CRUD, arithmetic, echo), none of which return time values.

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?

No explicit when-to-use or when-not-to-use guidance appears, but none is truly needed: no sibling tool overlaps with obtaining the current time, so the usage is implied by the purpose itself. An agent will not mis-route between this and list_tasks or multiply.

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