Skip to main content
Glama

Example MCP Server

by nykznykz

calculate

Safely evaluate mathematical expressions using the 'calculate' tool on the Example MCP Server. Input your expression to receive the computed result instantly.

Instructions

Evaluate a mathematical expression safely.

Args: expression: A mathematical expression to evaluate (e.g., "2 + 2", "10 * 5")

Returns: The result of the calculation as a string

Input Schema

NameRequiredDescriptionDefault
expressionYes

Input Schema (JSON Schema)

{ "properties": { "expression": { "title": "Expression", "type": "string" } }, "required": [ "expression" ], "type": "object" }

Other Tools from Example MCP Server

Related Tools

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/nykznykz/mcp_example'

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