Skip to main content
Glama

mcp-google-sheets

validation.ts363 B
export function assertLimit(limit?: number): number | undefined { if (limit === undefined || limit === null) { return limit ?? undefined; } if (Number.isNaN(limit)) { throw new Error('Limit must be a number between 1 and 100.'); } if (limit < 1 || limit > 100) { throw new Error('Limit must be between 1 and 100.'); } return limit; }

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/activepieces/activepieces'

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