# get_customer_metrics

Get customer analytics including total customers, new customers in period,

Agent View of the PolicyLayer registry record for `get_customer_metrics`. HTML page: https://policylayer.com/tools/marccherggi-indie-metrics-mcp/get-customer-metrics

## Facts

- Tool: `get_customer_metrics`
- Server: Indie Metrics (`marccherggi/indie-metrics-mcp`) — https://policylayer.com/tools/marccherggi-indie-metrics-mcp.md
- Homepage: https://github.com/MARCCHERGGI/indie-metrics-mcp
- 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_customer_metrics",
    "arguments": {}
  }
}
```

## Why get_customer_metrics is rated Low

This tool retrieves and queries customer analytics from Stripe—a passive read operation with no side effects. It does not create, modify, delete, or execute operations. While the data is business-sensitive, the low severity reflects that unauthorized access to metrics is less critical than write/execute/destructive capabilities.

From the tool's own definition: "Tool name 'get_customer_metrics' and description indicating it retrieves analytics data ('Get customer analytics including total customers, new customers in period')."

## Use case

AI agents call get_customer_metrics to retrieve information from Indie Metrics 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 Indie Metrics:

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

## Other tools on Indie Metrics (6)

- `get_product_performance` — Read — https://policylayer.com/tools/marccherggi-indie-metrics-mcp/get-product-performance.md
- `get_recent_transactions` — Read — https://policylayer.com/tools/marccherggi-indie-metrics-mcp/get-recent-transactions.md
- `get_refund_analysis` — Read — https://policylayer.com/tools/marccherggi-indie-metrics-mcp/get-refund-analysis.md
- `get_revenue_forecast` — Read — https://policylayer.com/tools/marccherggi-indie-metrics-mcp/get-revenue-forecast.md
- `get_revenue_summary` — Read — https://policylayer.com/tools/marccherggi-indie-metrics-mcp/get-revenue-summary.md
- `get_subscription_health` — Read — https://policylayer.com/tools/marccherggi-indie-metrics-mcp/get-subscription-health.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=marccherggi-indie-metrics-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/marccherggi-indie-metrics-mcp
