# Microgram: graph-ops-graph-analyze

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

Analyze a graph structure.

## Agent metadata

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

## Input schema

- `analysis` *string* (required) — Analysis mode: - "centrality": betweenness centrality for all vertices - "components": connected components - "shortest_path": BFS shortest path (requires from_vertex, to_vertex) - "dijkstra": weighted shortest path (requires from_vertex, to_vertex) - "pagerank": iterative PageRank - "communities": Louvain community detection - "scc": strongly connected components - "topo_sort": topological sort (returns None if cycles exist)
- `damping` *number* (required) — Input parameter damping.
- `edges` *object* (required) — Edge definitions (required).
- `from_vertex` *number* — Input parameter from_vertex.
- `max_iterations` *number* (required) — Input parameter max_iterations.
- `to_vertex` *number* — Input parameter to_vertex.
- `tolerance` *number* (required) — Input parameter tolerance.
- `vertices` *object* (required) — Input parameter vertices.

## 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-graph-analyze",
    "arguments": {
      "analysis": "",
      "damping": 0,
      "edges": {},
      "max_iterations": 0,
      "tolerance": 0,
      "vertices": {}
    }
  }
}
```

## Related

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