Skip to main content
Glama
chrishayuk

Physics MCP Server

by chrishayuk

calculate_pressure_at_depth

Calculate hydrostatic pressure at specific depths using the formula P = P_atm + ρgh. Input depth and fluid density to determine total pressure, gauge pressure, and pressure in atmospheres for applications like scuba diving or engineering.

Instructions

Calculate pressure at depth: P = P_atm + ρgh.

Hydrostatic pressure increases with depth. Args: depth: Depth below surface in meters fluid_density: Fluid density in kg/m³ (water=1000, seawater=1025) atmospheric_pressure: Pressure at surface in Pascals (default 101325) gravity: Gravitational acceleration in m/s² (default 9.81) Returns: Dict containing: - total_pressure: Total pressure in Pascals - gauge_pressure: Pressure above atmospheric in Pascals - pressure_atmospheres: Pressure in atmospheres (1 atm = 101325 Pa) Example - Scuba diving at 30m: result = await calculate_pressure_at_depth( depth=30, # meters fluid_density=1025, # seawater atmospheric_pressure=101325 ) # Result: ~4 atmospheres

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
depthYes
fluid_densityYes
atmospheric_pressureNo
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