Low Risk

get_champion_mastery_tool

๐ŸŽฏ Get the player's mastery info for a specific champion.

How to control get_champion_mastery_tool ↓

What get_champion_mastery_tool does on MCP Riot Server

AI agents call get_champion_mastery_tool to retrieve information from MCP Riot Server without modifying anything โ€” typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Low Risk

Why get_champion_mastery_tool needs a policy

This tool retrieves and queries existing mastery information for a player-champion combination. It has no side effects, does not modify data, execute code, delete anything, or involve financial transactions. The operation is purely informational, consistent with other sibling tools (get_match_summary, get_player_summary, get_recent_matches_tool, get_top_champions_tool) which are all Read operations.

From the tool's definition Tool name uses 'get_' prefix and description states 'Get the player's mastery info' โ€” retrieval operation with no modification capability. Returns player statistics about champion mastery, which is read-only data from the Riot Games API.

Documented attack patterns abuse exactly the kind of access get_champion_mastery_tool gives an agent:

How to control get_champion_mastery_tool

PolicyLayer is an MCP gateway โ€” it sits between your AI agents and MCP Riot Server, and nothing reaches the server without passing your rules. This is the rule we recommend for get_champion_mastery_tool:

policy.json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "get_champion_mastery_tool": {}
  }
}

get_champion_mastery_tool is read-only, so it stays allowed โ€” but everything else on the server is denied unless you say otherwise.

  1. Create a free account and register MCP Riot Server โ€” nothing to install.
  2. Add this policy โ€” paste it, or build it visually.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
CAP THIS TOOL →

Free to start. No card required.

Related tools and policies

Go deeper

Questions about get_champion_mastery_tool

What does the get_champion_mastery_tool tool do? +

๐ŸŽฏ Get the player's mastery info for a specific champion. It is categorised as a Read tool in the MCP Riot Server MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on get_champion_mastery_tool? +

Register the MCP Riot Server MCP server in PolicyLayer and add a rule for get_champion_mastery_tool: 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 Riot Server. Nothing to install.

What risk level is get_champion_mastery_tool? +

get_champion_mastery_tool is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit get_champion_mastery_tool? +

Yes. Add a rate_limit block to the get_champion_mastery_tool 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.

How do I block get_champion_mastery_tool completely? +

Set action: deny in the PolicyLayer policy for get_champion_mastery_tool. 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.

What MCP server provides get_champion_mastery_tool? +

get_champion_mastery_tool is provided by the MCP Riot Server MCP server (jifrozen0110/mcp-riot). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

Enforce policy on every MCP Riot Server tool call.

Start from MCP Riot Server, add the rest of your stack, and see everything your agents can call. Then put policy on all of it.

Free to start. No card required.

5 MCP Riot Server tools catalogued and risk-classified โ€” across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.