Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TIME_AGENT_STORE_FILENoSet this environment variable to enable JSON file persistence for status storage, so task start times are remembered after restart. Default is an in-memory Map (zero dependencies).

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

Tools

Functions exposed to the LLM to take actions

NameDescription
current_timeB

返回当前时间、日期、星期、时区与 UTC 偏移(现在几点/几号/周几/时区)。

duration_elapsedB

任务时长感知:记录任务起始时刻并返回「已过去多久」。首次调用自动开始计时,后续调用返回累计时长;可用 reset=true 重新计时。

time_untilA

倒计时:计算距离目标/截止时刻还剩多久(目标已过则返回已过时长)。

timezone_convertA

多时区换算:把某一时刻从源时区换算到目标时区,返回目标时区的本地时间与偏移差。

session_pingA

会话心跳:每次对话调用一次,更新时间戳并返回距上次对话间隔与本会话总时长,让模型感知对话间隔。

cron_mockA

定时决策:判断「现在到点了吗」(cron / @宏 / every 30 minutes),返回是否命中、下次与上次触发时刻及倒计时。不启动真实定时器。

agent_clockA

会话级计时器:start 开始 / pause 暂停 / resume 恢复 / reset 清零 / status 查询,返回累计计时与中文可读时长。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 7 tools

Disambiguation3/5

Several tools overlap in purpose: agent_clock, time_until, duration_elapsed, and session_ping all measure elapsed or remaining time, making it easy for an agent to pick the wrong one. Descriptions provide some differentiation (session vs task vs target), but boundaries remain blurry.

Naming Consistency4/5

Mostly consistent snake_case noun/verb phrases (agent_clock, time_until, timezone_convert, session_ping, cron_mock, duration_elapsed, current_time). One minor inconsistency: agent_clock uses a noun where sibling tools use verbs/verb-noun forms, but overall it is predictable.

Tool Count4/5

Seven tools fit the time/session domain reasonably well, though the presence of both agent_clock and duration_elapsed suggests slight redundancy rather than pure over-count.

Completeness4/5

Covers clock, countdown, timezone conversion, session timing, scheduled decisions, duration tracking, and current time. There is some redundancy (multiple duration tools) rather than missing capabilities; a durable scheduling tool separate from cron_mock might be the only minor gap.

Maintenance

ActivityMaintained
ResponsivenessNo issues