Skip to main content
Glama

Timestamp converter

timestamp
Read-onlyIdempotent

Returns the current time, or converts between a Unix timestamp (seconds) and an ISO date. Provide unix or date, or neither for the current time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoDate/time string to convert to a Unix timestamp. Provide either unix or date, not both.
unixNoUnix timestamp (seconds since epoch) to convert to a human-readable date. Provide either unix or date, not both.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / date / description
      Previous value: -""New value: +"Date/time string to convert to a Unix timestamp. Provide either unix or date, not both."
    • changedInput schema / properties / unix / description
      Previous value: -""New value: +"Unix timestamp (seconds since epoch) to convert to a human-readable date. Provide either unix or date, not both."
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds the current-time fallback but not the output format for the date-to-unix direction or error behavior, so it adds modest value.

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 tight sentence with the core behavior front-loaded and the parameter rule second. Nothing is wasted.

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?

With no output schema, the description should ideally state return formats; it names ISO dates for one direction but leaves the timestamp output format implicit. For a two-parameter, zero-required utility this is nearly complete.

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% and both parameters already document their direction and mutual exclusivity. The description restates the same exclusivity rule without adding format or parsing details, so 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?

States a specific resource and two concrete behaviors: returning the current time and converting between Unix timestamps and ISO dates. An agent can immediately tell this apart from unrelated siblings like uuid or color.

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?

Explicitly says to provide unix or date, or neither for the current time, which tells the agent the valid invocation modes. It lacks guidance on what happens with ambiguous or malformed input, but for a simple utility this is clear context.

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.