# get_protocol_stats

A read tool on the AgentVeil Protocol MCP server.

Agent View of the PolicyLayer registry record for `get_protocol_stats`. HTML page: https://policylayer.com/tools/agentveil-protocol-agentveil-sdk/get-protocol-stats

## Facts

- Tool: `get_protocol_stats`
- Server: AgentVeil Protocol (`agentveil-protocol/agentveil-sdk`) — https://policylayer.com/tools/agentveil-protocol-agentveil-sdk.md
- Homepage: https://github.com/agentveil-protocol/agentveil-sdk
- Risk category: Read (Low risk)
- Registry record: grade A, 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": "get_protocol_stats",
    "arguments": {}
  }
}
```

## Why get_protocol_stats is rated Low

The tool name indicates a query/retrieval operation ('get_'). Although the description is empty, the naming pattern is consistent with other Read-category tools on this server. Protocol statistics are informational data that would not be modified or deleted. Severity is low because retrieving public statistics poses minimal risk even if misused by an AI agent.

From the tool's own definition: "Tool name 'get_protocol_stats' suggests retrieval of statistics; no description provided. Based on naming convention and sibling tools (get_agent_info, get_attestations_received, get_audit_trail) which are all read operations, this tool most likely retrieves…"

## Use case

AI agents call get_protocol_stats to retrieve information from AgentVeil Protocol 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 AgentVeil Protocol:

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

## Other tools on AgentVeil Protocol (11)

- `should_delegate_to_agent` — Other — https://policylayer.com/tools/agentveil-protocol-agentveil-sdk/should-delegate-to-agent.md
- `check_avp_reputation` — Read — https://policylayer.com/tools/agentveil-protocol-agentveil-sdk/check-avp-reputation.md
- `check_reputation` — Read — https://policylayer.com/tools/agentveil-protocol-agentveil-sdk/check-reputation.md
- `check_trust` — Read — https://policylayer.com/tools/agentveil-protocol-agentveil-sdk/check-trust.md
- `get_agent_info` — Read — https://policylayer.com/tools/agentveil-protocol-agentveil-sdk/get-agent-info.md
- `get_attestations_received` — Read — https://policylayer.com/tools/agentveil-protocol-agentveil-sdk/get-attestations-received.md
- `get_audit_trail` — Read — https://policylayer.com/tools/agentveil-protocol-agentveil-sdk/get-audit-trail.md
- `search_agents` — Read — https://policylayer.com/tools/agentveil-protocol-agentveil-sdk/search-agents.md
- `search_avp_agents` — Read — https://policylayer.com/tools/agentveil-protocol-agentveil-sdk/search-avp-agents.md
- `verify_audit_chain` — Read — https://policylayer.com/tools/agentveil-protocol-agentveil-sdk/verify-audit-chain.md
- `log_avp_interaction` — Write — https://policylayer.com/tools/agentveil-protocol-agentveil-sdk/log-avp-interaction.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=agentveil-protocol-agentveil-sdk · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/agentveil-protocol-agentveil-sdk
