Home / Servers / Calculators / triangle

Triangle

An MCP tool from the Calculators server, hosted on mcp.hjlabs.in.

Solve a triangle from three sides (SSS), two sides and the included angle (SAS), or two angles and a side (ASA/AAS): all sides, all angles (degrees), area, perimeter, and type.

Name on the gateway: math__triangle · read-only.

Parameters

NameTypeDescription
anumberSide a.
bnumberSide b.
cnumberSide c.
AnumberAngle A in degrees (opposite side a).
BnumberAngle B in degrees.
CnumberAngle C in degrees.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "math__triangle",
  "arguments": {}
}

Or connect the Calculators server directly, which lists 28 tools including this one:

Run in your terminal
claude mcp add --transport http hj-math https://mcp.hjlabs.in/mcp/math \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the triangle tool with a set to ….

More from Calculators