Skip to main content
Glama
jeremykenedy

Claude Rules MCP Server

by jeremykenedy

Get Project Rules

rules_get_project
Read-onlyIdempotent

Retrieve a project's CLAUDE.md and all .claude/rules/*.md files by providing the project folder name under ~/sites.

Instructions

Reads CLAUDE.md and all .claude/rules/*.md files for a specific project.

Args:

  • project_name (string): Project folder name under ~/sites (e.g. "laravel-auth-modernized", "greenboard")

Returns: Project CLAUDE.md and all project-level rule files concatenated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_nameYesProject folder name under ~/sites
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond annotations (readOnlyHint, idempotentHint), the description reveals concrete behavior: it reads specific file paths and returns concatenated content. This adds value by specifying the exact sources and output format.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise: two sentences total, front-loaded with the core purpose followed by a structured Args/Returns section. Every sentence contributes essential information with no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter, read-only tool with no output schema, the description fully explains what files are read and how the result is returned. No gaps remain for the agent to infer.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and the description essentially repeats the schema's parameter description ('Project folder name under ~/sites'). No additional meaning or usage hints are provided beyond what the schema already offers.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb 'Reads' and clearly states the resource: 'CLAUDE.md and all .claude/rules/*.md files for a specific project.' This distinguishes it from sibling tools like rules_get_global or rules_get_skill, which target different rule scopes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not explicitly state when to use this tool versus alternatives. While the sibling names suggest different contexts (global, skill, project), no direct guidance is provided, leaving the inference to the agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jeremykenedy/claude-rules-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server