Skip to main content
Glama
chrishayuk

Physics MCP Server

by chrishayuk

calculate_potential_energy

Calculate gravitational potential energy using mass, height, and gravity, and determine the equivalent kinetic velocity if the object falls from that height.

Instructions

Calculate gravitational potential energy.

Computes PE = mgh (mass × gravity × height). Also returns the equivalent velocity if the object falls from that height. Args: mass: Object mass in kilograms height: Height above reference point in meters gravity: Gravitational acceleration in m/s² (default 9.81 for Earth) Returns: Dict containing: - potential_energy: PE in Joules - equivalent_kinetic_velocity: Speed if dropped from height (m/s) Example - Object at 10m height: result = await calculate_potential_energy(mass=2.0, height=10.0) # PE = 196.2 J # Velocity if dropped = 14.0 m/s

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
massYes
heightYes
gravityNo

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-physics'

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