Skip to main content
Glama
submitFeedback.js518 B
const { z } = require("zod"); async function submitFeedback({ message, rating }) { return { content: [ { type: "text", text: `Feedback recorded at ${new Date().toISOString()}: ${message} with rating ${rating}`, }, ], }; } submitFeedback.meta = { title: "Feedback Submission Tool", description: "Submits feedback", inputSchema: { message: z.string().min(5, "At least 5 characters long"), rating: z.number().min(1).max(5), }, }; module.exports = submitFeedback;

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/parmindersk/mcp-starter'

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