Skip to main content
Glama

Agent Sense

by pepedd864

get_time

Retrieve real-time environmental time data including local time, UTC, timezone, and timestamps to provide accurate responses to time-sensitive queries and current events.

Instructions

【必须调用】获取用户环境的实时时间信息。

⚠️ 重要:你的训练数据和系统提示中的时间信息可能不准确或过时,必须调用此工具获取用户的真实当前时间。

强制调用场景(必须调用,不要依赖你的知识):

  • 用户提到"现在"、"今天"、"最近"、"这周"、"这个月"、"今年"等时间词

  • 用户询问时间相关的事件、新闻、趋势(如"最近有什么AI大事件")

  • 需要判断某个日期是过去还是未来

  • 分析时间敏感的数据(日志、事件、截止日期)

  • 任何需要知道"当前时间"才能准确回答的问题

返回信息:用户本地时间、UTC时间、时区、Unix时间戳、完整的年月日时分秒、星期等。

⚠️ 不要假设你知道当前时间,必须调用此工具!

Input Schema

NameRequiredDescriptionDefault
formatNo时间格式:'iso' (ISO 8601), 'locale' (本地化), 'unix' (Unix时间戳)iso

Input Schema (JSON Schema)

{ "properties": { "format": { "default": "iso", "description": "时间格式:'iso' (ISO 8601), 'locale' (本地化), 'unix' (Unix时间戳)", "enum": [ "iso", "locale", "unix" ], "type": "string" } }, "type": "object" }

Other Tools from Agent Sense

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/pepedd864/agent-sense'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server