# Microgram: graph-ops-topo-persistence

`station__algovigilance__microgram-graph-ops-topo-persistence` · native (always callable) · domain `algovigilance` · pv-relevance `pv-core`

Compute persistent homology from a distance matrix

## Agent metadata

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

## Input schema

- `distances` *object* (required) — Pairwise distances as a square matrix
- `labels` *object* — Optional labels for each point
- `max_dim` *number* — Maximum simplex dimension (default 2)
- `max_filtration` *number* — Maximum filtration value (default: auto from max distance)
- `min_persistence` *number* — Minimum persistence to report (filters noise, default 0.0)

## Example call

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__algovigilance__microgram-graph-ops-topo-persistence",
    "arguments": {
      "distances": {}
    }
  }
}
```

## Related

- [/tools](/tools) — all 7718 tools
- [/tools/algovigilance__microgram-graph-ops-topo-persistence](/tools/algovigilance__microgram-graph-ops-topo-persistence) — HTML page
- [/tools/algovigilance__microgram-graph-ops-topo-persistence/json](/tools/algovigilance__microgram-graph-ops-topo-persistence/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
