list_spells

List Harry Potter spells with their effects. Optionally filter by a spell-name substring.

Server Mcp Harrypotter https://gateway.pipeworx.io/harrypotter/mcp
Category Read
Risk class Low
Parameters 10 required

What list_spells does on Mcp Harrypotter

AI agents call list_spells to retrieve information from Mcp Harrypotter without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
search string Case-insensitive spell-name substring filter.

Parameters from the server's own tool schema.

Why list_spells needs a policy

This tool retrieves and queries spell data from the Harry Potter API with optional filtering. It has no side effects, does not modify data, execute code, delete records, or transfer money. It is a pure read operation that returns information about fictional spells.

From the tool's definition Tool name 'list_spells' and description 'List Harry Potter spells with their effects. Optionally filter by a spell-name substring' indicate data retrieval only.

Questions about list_spells

What does the list_spells tool do? +

List Harry Potter spells with their effects. Optionally filter by a spell-name substring. It is categorised as a Read tool in the Mcp Harrypotter MCP Server, which means it retrieves data without modifying state.

What parameters does list_spells accept? +

list_spells accepts 1 parameter: search. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on list_spells? +

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

What risk level is list_spells? +

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

Can I rate-limit list_spells? +

Yes. Add a rate_limit block to the list_spells 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 list_spells completely? +

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

list_spells is provided by the Mcp Harrypotter MCP server (https://gateway.pipeworx.io/harrypotter/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

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

Message sent.

We'll get back to you soon.