Skip to main content
Glama

TeamRetro MCP Server

tools.ts1.25 kB
import { zodToJsonSchema } from 'zod-to-json-schema'; import { actionTools } from './features/actions/tools.js'; import { agreementTools } from './features/agreements/tools.js'; import { healthCheckTools } from './features/health-checks/tools.js'; import { healthModelTools } from './features/health-models/tools.js'; import { retrospectiveTools } from './features/retrospectives/tools.js'; import { teamMembersTools } from './features/team-members/tools.js'; import { teamTools } from './features/teams/tools.js'; import { userTools } from './features/users/tools.js'; import { toolErrorHandlers } from './utils/tools.js'; const tools = { ...userTools, ...teamTools, ...teamMembersTools, ...actionTools, ...retrospectiveTools, ...agreementTools, ...healthModelTools, ...healthCheckTools, }; const toolSchema = Object.entries(tools).map(([name, tool]) => ({ name, description: tool.description, inputSchema: zodToJsonSchema(tool.schema, { $refStrategy: "none", }), })); const toolHandlers: { [name: string]: (args: any) => Promise<any>; } = {}; Object.entries(tools).forEach(([name, tool]) => { toolHandlers[name] = (args: any) => toolErrorHandlers(tool.handler, args); }); export { toolSchema, toolHandlers };

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/adepanges/teamretro-mcp-server'

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