We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/devmitul17/hrms-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
DatenowTool.ts•419 B
import { MCPTool } from "mcp-framework";
import { z } from "zod";
interface DatenowInput {}
class DateNowTool extends MCPTool<DatenowInput> {
name = "date-time-now";
description =
"The DateNow tool is useful when you need the current date and time.";
schema = {};
async execute(_input: DatenowInput) {
return `The current and time is ${new Date().toUTCString()}`;
}
}
export default DateNowTool;