Skip to main content
Glama
Fibery-inc

Fibery MCP Server

Official
by Fibery-inc

current_date

Retrieve today's date in ISO 8601 format for timestamping and date-based operations within Fibery workflows.

Instructions

Get today's date in ISO 8601 format (YYYY-mm-dd.HH:MM:SS.000Z)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The asynchronous handler function that computes and returns the current date in ISO 8601 format as text content.
    async def handle_current_date() -> List[mcp.types.TextContent]: date = datetime.now().strftime("%Y-%m-%dT%H:%M:%S.000Z") return [mcp.types.TextContent(type="text", text=date)]
  • Defines the tool object including name, description, and empty input schema (no parameters required). This is used for tool registration.
    def current_date_tool() -> mcp.types.Tool: return mcp.types.Tool( name=current_date_tool_name, description="Get today's date in ISO 8601 format (YYYY-mm-dd.HH:MM:SS.000Z)", inputSchema={"type": "object"}, )
  • Registers the current_date_tool in the list of available tools returned by MCP's list_tools handler.
    def handle_list_tools(): return [current_date_tool(), schema_tool(), database_tool(), query_tool(), create_entity_tool(), create_entities_batch_tool(), update_entity_tool()]
  • Dispatches calls to the 'current_date' tool to its handler function in the central tool_call handler.
    elif name == current_date_tool_name: return await handle_current_date()
  • Constant defining the tool name string used in registration and dispatch.
    current_date_tool_name = "current_date"

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/Fibery-inc/fibery-mcp-server'

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