# gbrain_brain_stats

Get brain statistics: page count, chunk count, embedding coverage, etc.

Agent View of the PolicyLayer registry record for `gbrain_brain_stats`. HTML page: https://policylayer.com/tools/agent-store/gbrain-brain-stats

## Facts

- Tool: `gbrain_brain_stats`
- Server: Agent Store (`chrisluersen/agent-store`) — https://policylayer.com/tools/agent-store.md
- Homepage: https://github.com/chrisluersen/agent-store
- Risk category: Read (Low risk)
- Registry record: grade D, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "gbrain_brain_stats",
    "arguments": {}
  }
}
```

## Why gbrain_brain_stats is rated Low

This tool retrieves and queries statistical information about a brain's internal state (pages, chunks, embeddings). It performs no writes, deletes, executions, or financial operations. The action is purely informational with no side effects, fitting the 'Read' category with low severity.

From the tool's own definition: "Tool name 'gbrain_brain_stats' and description 'Get brain statistics: page count, chunk count, embedding coverage, etc.' indicate retrieval of metadata/stats with no modification capability."

## Use case

AI agents call gbrain_brain_stats to retrieve information from Agent Store without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Agent Store:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "gbrain_brain_stats": {}
  }
}
```

## Other tools on Agent Store (18)

- `fleet_dispatch` — Execute — https://policylayer.com/tools/agent-store/fleet-dispatch.md
- `gbrain_query` — Execute — https://policylayer.com/tools/agent-store/gbrain-query.md
- `gbrain_think` — Execute — https://policylayer.com/tools/agent-store/gbrain-think.md
- `reindex_wiki` — Execute — https://policylayer.com/tools/agent-store/reindex-wiki.md
- `file_synthesis` — Other — https://policylayer.com/tools/agent-store/file-synthesis.md
- `suggest_edges` — Other — https://policylayer.com/tools/agent-store/suggest-edges.md
- `find_related` — Read — https://policylayer.com/tools/agent-store/find-related.md
- `fleet_ping` — Read — https://policylayer.com/tools/agent-store/fleet-ping.md
- `gbrain_doctor` — Read — https://policylayer.com/tools/agent-store/gbrain-doctor.md
- `gbrain_get_page` — Read — https://policylayer.com/tools/agent-store/gbrain-get-page.md
- `gbrain_list_pages` — Read — https://policylayer.com/tools/agent-store/gbrain-list-pages.md
- `gbrain_search` — Read — https://policylayer.com/tools/agent-store/gbrain-search.md
- `lint_wiki` — Read — https://policylayer.com/tools/agent-store/lint-wiki.md
- `list_wiki_pages` — Read — https://policylayer.com/tools/agent-store/list-wiki-pages.md
- `read_wiki_page` — Read — https://policylayer.com/tools/agent-store/read-wiki-page.md
- `search_wiki` — Read — https://policylayer.com/tools/agent-store/search-wiki.md
- `synthesize_answer` — Read — https://policylayer.com/tools/agent-store/synthesize-answer.md
- `wiki_stats` — Read — https://policylayer.com/tools/agent-store/wiki-stats.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=agent-store · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/agent-store
