Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_datetimeA

Get the current date and time in the given format.

The time is in the local timezone of the machine running the server, unless 'timezone' is given as an IANA name such as 'Asia/Tokyo' or 'UTC'.

'format' is one of the format names below, or a custom pattern containing '%'. Custom patterns accept strftime directives (%Y %m %d %H %M %S %a %A %b %B %z %Z %j ...), %-m %-d %-H %-M %-S %-I %-j %-y for no leading zero, and these Japanese directives: %Je era name (令和), %JE era initial (R), %Jy era year (元 for year 1), %JY era year (always a number), %Ja weekday (火), %JA weekday (火曜日). Example: '%Je%Jy年%-m月%-d日(%Ja)' -> 令和6年12月10日(火). Japanese era is supported from 1873-01-01.

Available formats (example: 2024-12-10 00:54:01 JST):

  • date: 2024-12-10

  • date_slash: 2024/12/10

  • date_jp: 2024年12月10日

  • datetime: 2024-12-10 00:54:01

  • datetime_jp: 2024年12月10日 00時54分01秒

  • datetime_t: 2024-12-10T00:54:01

  • compact: 20241210005401

  • compact_date: 20241210

  • compact_time: 005401

  • filename_md: 20241210005401.md

  • filename_txt: 20241210005401.txt

  • filename_log: 20241210005401.log

  • iso: 2024-12-10T00:54:01+0900

  • iso_basic: 20241210T005401+0900

  • log: 2024-12-10 00:54:01.123456

  • log_compact: 20241210_005401

  • time: 00:54:01

  • time_jp: 00時54分01秒

  • date_wareki: 令和6年12月10日

  • datetime_wareki: 令和6年12月10日 00時54分01秒

  • date_wareki_short: R6.12.10

  • date_jp_weekday: 2024年12月10日(火)

  • datetime_jp_weekday: 2024年12月10日(火) 00時54分01秒

  • weekday_jp: 火曜日

convert_timeA

Convert a time or date-time from one timezone to another. Returns both sides with their timezone, UTC offset and weekday, and the time difference. A note is added when the time is skipped or repeated by a daylight saving time change. Accepted forms: '2024-12-10', '2024-12-10 14:30', '2024-12-10T14:30:00+09:00', '2024/12/10', '2024年12月10日 14時30分', Japanese era such as '令和6年12月10日' or 'R6.12.10', and a time only such as '14:30' (today).

shift_datetimeA

Add or subtract an amount of time to a date-time (default: now). Use negative numbers for the past. Years, months, weeks and days keep the wall time; if the day does not exist in the new month, the last day of that month is used (2024-01-31 + 1 month = 2024-02-29). Hours, minutes and seconds are elapsed time. Accepted forms: '2024-12-10', '2024-12-10 14:30', '2024-12-10T14:30:00+09:00', '2024/12/10', '2024年12月10日 14時30分', Japanese era such as '令和6年12月10日' or 'R6.12.10', and a time only such as '14:30' (today).

get_datetime_infoA

Get details of a date-time (default: now): ISO date-time, timezone, UTC offset, daylight saving time, Unix time, weekday in English and Japanese, Japanese era (wareki), day of year, ISO week, quarter, leap year, days in the month, and the difference from a reference date-time (default: now) in days and seconds, e.g. how many days until a date. Accepted forms: '2024-12-10', '2024-12-10 14:30', '2024-12-10T14:30:00+09:00', '2024/12/10', '2024年12月10日 14時30分', Japanese era such as '令和6年12月10日' or 'R6.12.10', and a time only such as '14:30' (today).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 4 tools

Disambiguation4/5

Each tool has a mostly distinct role: current time formatting, detailed datetime inspection, timezone conversion, and datetime shifting. The main potential overlap is between get_datetime and get_datetime_info when used on 'now', but their outputs and intended uses are different enough that an agent can choose correctly.

Naming Consistency5/5

All tool names use consistent snake_case with a verb_noun pattern: convert_time, get_datetime, get_datetime_info, shift_datetime. The get_datetime_info variant is a predictable extension of get_datetime rather than a convention break.

Tool Count5/5

Four tools is well-scoped for a focused datetime utility server. Each tool covers a clear operation without excessive fragmentation.

Completeness4/5

The surface covers current time formatting, datetime details, timezone conversion, and arithmetic, which handles most common datetime workflows. A minor gap is that arbitrary datetimes cannot be formatted with the same rich format options as get_datetime, but agents can work around this using the available outputs.

Maintenance

ActivityMaintained
ResponsivenessLimited data