manage_custom_rules

Manage custom security rules

Server MCP Shamash neotecdigital/mcp_shamash
Category Write
Risk class Medium
Parameters 00 required

What manage_custom_rules does on MCP Shamash

AI agents use manage_custom_rules to create or update resources in MCP Shamash — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your MCP Shamash environment.

Why manage_custom_rules needs a policy

This tool creates or modifies security rules, which are configuration artifacts. While it can change security posture, the blast radius is limited to rule definitions rather than production data or systems. The tool does not execute external operations (Execute), destroy data irreversibly (Destructive), or move money (Financial).

From the tool's definition Tool name 'manage_custom_rules' and description 'Manage custom security rules' indicate creation, modification, or deletion of security rule configurations. 'Manage' typically encompasses write operations (create, update, delete) on rule definitions.

Questions about manage_custom_rules

What does the manage_custom_rules tool do? +

Manage custom security rules. It is categorised as a Write tool in the MCP Shamash MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on manage_custom_rules? +

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

What risk level is manage_custom_rules? +

manage_custom_rules is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit manage_custom_rules? +

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

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

manage_custom_rules is provided by the MCP Shamash MCP server (neotecdigital/mcp_shamash). 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.