Skip to main content
Glama
agmonetti

mathmethods-mcp

by agmonetti

mc_convergencia_1d

Calculate cumulative running averages to show how Monte Carlo integration converges with increasing sample count, providing insight into numerical estimate stability for a function over an interval.

Instructions

Show how the mean-value Monte Carlo estimate converges as samples accumulate.

Args: func_str: Math expression in x. a, b: Integration limits (b > a). N: Total number of samples. seed: Optional RNG seed. precision: Rounding digits.

Returns: Dict with the cumulative running average over the samples.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
NNo
aYes
bYes
seedNo
func_strYes
precisionNo

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/agmonetti/mathmethods-mcp'

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