Skip to main content
Glama

factorial

Calculate the factorial of a non-negative integer for mathematical computations and probability calculations.

Instructions

Calculate the factorial of a non-negative integer.

Input Schema

NameRequiredDescriptionDefault
nYes

Input Schema (JSON Schema)

{ "properties": { "n": { "title": "N", "type": "integer" } }, "required": [ "n" ], "type": "object" }

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/vipankumar87/MCP-Example'

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