> ## Documentation Index
> Fetch the complete documentation index at: https://docs.the40thieves.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# graph_centrality

> Structural importance of notes in the persisted link graph.

Structural importance of notes in the persisted link graph. metric 'pagerank' answers 'what do many notes point at' (power iteration, damping 0.85); metric 'betweenness' answers the different question 'what sits between otherwise disconnected areas' — a bridge note can score high on betweenness with only two links. ANALYTICS ONLY: these scores are never used for retrieval ranking. Notes outside your read scope are excluded from the graph entirely, not just from the output.

| | |
| - | - |
| **Domain** | links |
| **Scopes** | `read:notes` |
| **Access** | read |
| **Tags** | `read-only`, `domain:links`, `links`, `graph` |
| **Profile** | full only |

## Annotations

| Annotation | Value |
| - | - |
| Read-only | yes |
| Destructive | no |
| Idempotent | no |
| Accepts an idempotency key | no |

`Idempotent` is the advisory MCP `idempotentHint`. `Destructive` is also `yes` for a tool that
asks for confirmation only on some calls.

## Confirmation (human in the loop)

No human confirmation is required to call this tool.

## Input

| Parameter | Type | Required | Default | Description |
| - | - | - | - | - |
| `vault` | `string` | | — | Vault id. May be omitted when only one vault is available. length 1–64; pattern `^[a-z0-9_-]+$` |
| `metric` | `enum` | | `"pagerank"` | One of: `"pagerank"`, `"betweenness"` |
| `min_incoming_links` | `integer` | | `0` | range 0–100 |
| `limit` | `integer` | | `25` | range 1–200 |

## Output

| Field | Type | Always present | Description |
| - | - | - | - |
| `vault` | `string` | yes | — |
| `metric` | `enum` | yes | One of: `"pagerank"`, `"betweenness"` |
| `nodes` | `number` | yes | — |
| `available` | `boolean` | | — |
| `message` | `string` | | — |
| `edges` | `number` | | — |
| `results` | `object[]` | | — |
| `results[].path` | `string` | with parent | — |
| `results[].score` | `number` | with parent | — |

## Related tools

Other tools in the `links` domain: [`find_link_cycles`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/find_link_cycles/), [`find_orphans`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/find_orphans/), [`find_unresolved_links`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/find_unresolved_links/), [`get_backlinks`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/get_backlinks/), [`get_link_strength`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/get_link_strength/), [`get_outgoing_links`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/get_outgoing_links/), [`graph_communities`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/graph_communities/), [`graph_path_between`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/graph_path_between/), [`prune_hub_links`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/prune_hub_links/), [`rewrite_link`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/rewrite_link/), [`suggest_links`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/suggest_links/), [`vault_health_score`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/vault_health_score/).

Back to the [tool catalog](https://docs.the40thieves.dev/reliquary-tc/tools/tool-catalog.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.