rules_get_global_rule

Reads a specific global rule file by name from ~/.claude/rules/{name}.md. Args: - rule_name (string): Rule name without .md (e.g.

Server Claude Rules MCP Server jeremykenedy/claude-rules-mcp-server
Category Read
Risk class Low
Parameters 00 required

What rules_get_global_rule does on Claude Rules MCP Server

AI agents call rules_get_global_rule to retrieve information from Claude Rules MCP Server without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why rules_get_global_rule needs a policy

This tool performs a straightforward read operation that retrieves rule file content from a predictable filesystem location (~/.claude/rules/). There is no modification, execution, deletion, or financial impact. The blast radius is minimal—an AI agent can only access existing rule files, not alter or execute them.

From the tool's definition Tool description states it 'Reads a specific global rule file' and the verb 'Reads' combined with retrieval of rule content indicates data querying with no side effects. Args show a simple name parameter for file selection.

Questions about rules_get_global_rule

What does the rules_get_global_rule tool do? +

Reads a specific global rule file by name from ~/.claude/rules/{name}.md. Args: - rule_name (string): Rule name without .md (e.g. It is categorised as a Read tool in the Claude Rules MCP Server MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on rules_get_global_rule? +

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

What risk level is rules_get_global_rule? +

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

Can I rate-limit rules_get_global_rule? +

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

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

rules_get_global_rule is provided by the Claude Rules MCP Server MCP server (jeremykenedy/claude-rules-mcp-server). 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.