Skip to main content
Glama

eRegulations MCP Server

by unctad-ai
schemas.ts905 B
import { z } from "zod"; export enum ToolName { LIST_PROCEDURES = "listProcedures", GET_PROCEDURE_DETAILS = "getProcedureDetails", GET_PROCEDURE_STEP = "getProcedureStep", SEARCH_PROCEDURES = "searchProcedures", } export const ListProceduresSchema = z.object({ // Remove max_items and max_length }); export const GetProcedureDetailsSchema = z.object({ procedureId: z .number() .int() .positive() .describe("ID of the procedure to retrieve"), }); export const GetProcedureStepSchema = z.object({ procedureId: z.number().describe("ID of the procedure"), stepId: z.number().describe("ID of the step within the procedure"), }); export const SearchProceduresSchema = z.object({ keyword: z .string() .describe( "The keyword or phrase to search for procedures. This will be wrapped in a JSON object with a 'keyword' property when sent to the API." ), });

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/unctad-ai/eregulations-mcp-server'

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