clicks_get_referral_stats
Get referral network stats for an agent: direct referrals count, total earned from referrals, claimable rewards, and referral chain.
This record as markdown: /tools/dev-bd37-clicks-protocol/clicks-get-referral-stats.md
What clicks_get_referral_stats does on Clicks Protocol
AI agents call clicks_get_referral_stats to retrieve information from Clicks Protocol without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
agent_address | string | — | Ethereum address of the AI agent |
Parameters from the server's own tool schema.
Why clicks_get_referral_stats is rated Low
This tool queries and retrieves existing data about referral statistics without creating, modifying, executing, or deleting anything. It is purely informational retrieval. The server description confirms 'read-only' classification, and the tool returns only analytics data.
From the tool's definition Tool retrieves 'referral network stats' including 'direct referrals count, total earned from referrals, claimable rewards, and referral chain' — all read-only data queries with no modification or execution capabilities.
Attacks that exploit this kind of access
The rule that runs clicks_get_referral_stats safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Clicks Protocol, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For clicks_get_referral_stats, this is the rule to start with:
clicks_get_referral_stats is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Clicks Protocol, apply this rule, and every clicks_get_referral_stats call is checked against it from then on.
Questions about clicks_get_referral_stats
Get referral network stats for an agent: direct referrals count, total earned from referrals, claimable rewards, and referral chain. It is categorised as a Read tool in the Clicks Protocol MCP Server, which means it retrieves data without modifying state.
clicks_get_referral_stats accepts 1 parameter: agent_address. The full parameter table on this page comes from the server's own tool schema.
Register the Clicks Protocol MCP server in PolicyLayer and add a rule for clicks_get_referral_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 Clicks Protocol. Nothing to install.
clicks_get_referral_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 clicks_get_referral_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 clicks_get_referral_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.
clicks_get_referral_stats is provided by the Clicks Protocol MCP server (dev-bd37/clicks-protocol). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Clicks Protocol, and thousands of servers like it.
This server
Across the catalogue