# stem-spatial-triangle

`station__stem__stem-spatial-triangle` · external (needs EXECUTION_BACKEND_URL configured) · domain `stem` · pv-relevance `pv-adjacent`

Check the triangle inequality: d(a,c) ≤ d(a,b) + d(b,c).

> **Note:** This tool routes through an external execution backend. If `EXECUTION_BACKEND_URL` is unset on the server, calls return JSON-RPC error `-32603 "Tool execution backend not configured"`. Tools with `backend: native` execute in-process and are always callable.

## Agent metadata

- `idempotent`: unknown
- `read_only`: unknown
- `expected_latency_ms`: unknown (not yet contract-tested)
- `cost_tokens_estimate`: unknown

## Input schema

- `ab` *number* (required) — Distance from A to B
- `ac` *number* (required) — Distance from A to C
- `bc` *number* (required) — Distance from B to C

## Example call

```json
POST /api/mcp
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__stem__stem-spatial-triangle",
    "arguments": {
      "ab": 0,
      "ac": 0,
      "bc": 0
    }
  }
}
```

## Related

- [/tools](/tools) — all 3062 tools
- [/tools/stem__stem-spatial-triangle](/tools/stem__stem-spatial-triangle) — HTML page
- [/tools/stem__stem-spatial-triangle/json](/tools/stem__stem-spatial-triangle/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
