Skip to main content
Glama

MCP TypeScript Demo Server

by malyalavenu

get_current_date

Retrieve the current date or calculate relative dates (e.g., yesterday, tomorrow) based on user input. Specify a date or relative unit to get accurate date responses.

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 TypeScript Demo Server

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/malyalavenu/mcp-demo'

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