Skip to main content
Glama

AI SENSE Free Public Tools

Current time in several formats

time_formats
Read-only

The current time in several formats at once: a Unix timestamp, Unix time with microseconds, an ISO 8601 date and time at an optional UTC offset, and Swatch Internet Time. For a named timezone such as Europe/Oslo use get_current_time. No API key, no account and no sign up: call it directly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
offsetNoUTC offset as a sign and four digits, from -1200 to +1200, for example +0200 or -0530.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only and closed-world status, and the description adds genuinely useful operational context that annotations cannot convey: no API key, no account, no sign-up, callable directly. It also implicitly explains the idempotentHint=false by framing the tool as returning 'the current time'. It does not discuss rate limits or precision guarantees.

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?

Front-loaded with the payload (the returned formats), followed by the sibling routing rule and then the no-setup note. Every sentence carries weight, though the trailing 'no API key, no account and no sign up' is slightly redundant with itself.

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?

There is no output schema, so the description must carry the return-value burden, and it does by enumerating all four formats returned. The only remaining gap is that Swatch Internet Time and microsecond precision are named but not characterized, which a caller might want given there is no output schema.

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 the pattern, range, and examples for 'offset' are already fully documented in the schema. The description adds only marginal framing by tying the offset to the ISO 8601 output specifically (not to the other formats), which is a small but real clarification. 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+resource ('The current time') and enumerates exactly the formats returned: Unix timestamp, Unix time with microseconds, ISO 8601 at an optional offset, and Swatch Internet Time. It explicitly disambiguates itself from the sibling get_current_time, so an agent can choose correctly without opening either schema.

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?

It gives a clear routing rule: for a named timezone such as Europe/Oslo, use get_current_time instead. That is an explicit alternative with a selecting condition. It does not, however, address convert_timestamp or clarify when a multi-format instant is actually wanted versus a single-format call.

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.