Get counts of nodes and edges in the graph store.
AI agents call graph-stats to retrieve information from MCP Index Notes without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
This tool performs a read-only query operation to retrieve aggregate statistics (node and edge counts) from the knowledge graph. It has no side effects, does not modify data, and poses minimal security risk even if misused by an AI agent. The operation is purely informational.
From the tool's definition Tool name 'graph-stats' and description 'Get counts of nodes and edges in the graph store' indicates a retrieval operation that returns statistical information without modifying data.
Attacks that exploit this kind of access
Get counts of nodes and edges in the graph store. It is categorised as a Read tool in the MCP Index Notes MCP Server, which means it retrieves data without modifying state.
Register the MCP Index Notes MCP server in PolicyLayer and add a rule for graph-stats: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches MCP Index Notes. Nothing to install.
graph-stats is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the graph-stats rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for graph-stats. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
graph-stats is provided by the MCP Index Notes MCP server (vjsr007/mcp-index-notes). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
graph-stats is one line of MCP Index Notes's registry record.
The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.
Teams ship this data inside their own products. See what a licence covers →