Skip to main content
Glama

get_current_time

Retrieve the current time and date to timestamp cryptocurrency transactions, schedule automated trading operations, and synchronize wallet activities across supported blockchain networks.

Instructions

Gets the current time and date

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'get_current_time' tool. It is decorated with @mcp.tool(), which registers it with the MCP server. The function returns the current UTC time formatted as a string in a dictionary.
    @mcp.tool() async def get_current_time() -> Dict: """Gets the current time and date""" return {"current_time": datetime.now(timezone.utc).strftime("%Y-%m-%d %H:%M:%S")}

Latest Blog Posts

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/emmaThompson07/armor-crypto-mcp'

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