# get_refund_analysis

Analyze refunds: total count, amount, refund rate vs successful charges,

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

## Facts

- Tool: `get_refund_analysis`
- 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_refund_analysis",
    "arguments": {}
  }
}
```

## Why get_refund_analysis is rated Low

This tool queries and analyzes refund metrics (count, amount, rates) but does not create, modify, delete, or reverse refunds themselves. It is a read-only analytical tool. Severity is medium rather than low because refund data is sensitive financial information that could inform unauthorized actions if misused, but the tool itself performs no side effects or state changes.

From the tool's own definition: "Tool name 'get_refund_analysis' and description 'Analyze refunds: total count, amount, refund rate vs successful charges' indicate data retrieval and analysis operations with no modification of records."

## Use case

AI agents call get_refund_analysis 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_refund_analysis": {}
  }
}
```

## Other tools on Indie Metrics (6)

- `get_customer_metrics` — Read — https://policylayer.com/tools/marccherggi-indie-metrics-mcp/get-customer-metrics.md
- `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_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
