Skip to main content
Glama

Discord Timestamp Generator

Make a Discord timestamp

discord_timestamp
Read-only

Turn a moment in time into Discord timestamp codes like <t:1767225600:F>. Give either unix, an ISO datetime with offset, or a local date + time + IANA timezone (best when the user says e.g. "8pm New York time"). Omit format to get all 7 styles (t, T, d, D, f, F, R).

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

Input Schema

NameRequiredDescriptionDefault
dateNoLocal date YYYY-MM-DD (use with time and timezone).
timeNoLocal time HH:MM, 24-hour.
unixNoUnix time in seconds or milliseconds.
formatNoOne Discord style. Omit for all.
datetimeNoISO 8601 with UTC offset, e.g. 2026-12-25T09:00:00-05:00.
timezoneNoIANA timezone, e.g. America/New_York.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "t",
      -  "T",
      -  "d",
      -  "D",
      -  "f",
      -  "F",
      -  "R"
      -]New value: +[
      +  "t",
      +  "T",
      +  "d",
      +  "D",
      +  "f",
      +  "F",
      +  "s",
      +  "S",
      +  "R"
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds real behavioral context beyond that: omitting `format` returns all 7 styles rather than one, which changes output volume substantially. It does not say what happens if no date input is supplied (all 6 params are optional) or how invalid input is handled.

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?

Three sentences, front-loaded with the output example, then input modes, then the format default. No filler and nothing redundant with the schema.

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?

Covers input modes, output shape, and the all-styles default for a 6-param, zero-required tool with no output schema. The remaining gap is the degenerate case: with no required params it is unclear whether calling with an empty object errors or defaults to 'now'.

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 baseline would be 3, but the description adds meaning the schema lacks: the parameters form mutually exclusive input modes ('Give either ...'), which the flat all-optional schema does not convey. It also explains that `timezone` matters when the user expresses a wall-clock time in a named city.

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 verb+resource (turn a moment in time into Discord timestamp codes) and immediately grounds it with a literal output example `<t:1767225600:F>`. That example alone lets an agent distinguish this from decode_discord_snowflake, which goes the opposite direction.

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 explicit routing among the three input modes: `unix`, ISO `datetime` with offset, or `date`+`time`+`timezone`, plus a concrete heuristic ('best when the user says e.g. "8pm New York time"'). It does not mention when NOT to use it or point at the sibling for the inverse operation, so it stops short of full alternative-routing guidance.

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.