Skip to main content
Glama

compute_pi_leibniz

Calculate pi by specifying the number of terms in the Leibniz series formula π/4 = 1 - 1/3 + 1/5 - 1/7 + ...

Instructions

Compute pi using the Leibniz formula: π/4 = 1 - 1/3 + 1/5 - 1/7 + ... (Domain: arithmetic, Category: mathematical_constants)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
termsYes

Other Tools

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/chrishayuk/chuk-mcp-math-server'

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