Skip to main content
Glama

get_current_time

Retrieve the current time to timestamp interactions and manage knowledge graph entries within the Memory Custom MCP server.

Instructions

Get the current time

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • index.ts:55-57 (handler)
    Core handler function that executes the tool logic: returns the current time in ISO string format.
    async getCurrentTime() { return new Date().toISOString(); }
  • MCP CallToolRequestSchema handler that invokes the getCurrentTime method and formats the response.
    case "get_current_time": return { content: [ { type: "text", text: await knowledgeGraphManager.getCurrentTime() }, ], };
  • index.ts:303-310 (registration)
    Tool registration in ListToolsRequestSchema, including name, description, and empty input schema.
    { name: "get_current_time", description: "Get the current time", inputSchema: { type: "object", properties: {}, }, },

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/BRO3886/mcp-memory-custom'

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