Skip to main content
Glama

MCP Server Demo

by CH-122

get_current_date

Retrieve the current date or calculate relative dates (e.g., yesterday, tomorrow) based on user input. Ideal for dynamic date handling in workflows or systems.

Instructions

获取当前日期, 如果用户没有提供日期, 则返回当前日期, 如果用户提供的是相对单位, 如前天, 昨天, 明天, 则返回相对单位后的日期

Input Schema

NameRequiredDescriptionDefault
dateYes日期 比如2025-05-29 或者 前天 昨天 明天

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "date": { "description": "日期 比如2025-05-29 或者 前天 昨天 明天", "type": "string" } }, "required": [ "date" ], "type": "object" }
Install Server

Other Tools from MCP Server Demo

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/CH-122/mcp-server'

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