Skip to main content
Glama

rules

Manage rule profiles in projects by adding or removing specific configurations like Cursor, Claude, or VSCode. Ensure precise control over project settings through defined actions and profiles.

Instructions

Add or remove rule profiles from the project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesWhether to add or remove rule profiles.
forceNoDANGEROUS: Force removal even if it would leave no rule profiles. Only use if you are absolutely certain.
profilesYesList of rule profiles to add or remove (e.g., ["cursor", "roo"]). Available options: amp, claude, cline, codex, cursor, gemini, kiro, opencode, roo, trae, vscode, windsurf, zed
projectRootYesThe root directory of the project. Must be an absolute path.
Behavior3/5

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

Without annotations, the description carries the full burden of behavioral disclosure. It mentions the core action (add/remove rule profiles) but doesn't explain what rule profiles are, what effects the changes have, or what permissions might be required. The dangerous nature of the 'force' parameter is documented in the schema, not the description.

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 a single, efficient sentence that gets straight to the point. It's appropriately sized for a tool with good schema documentation and wastes no words on repetition or unnecessary elaboration.

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

Completeness3/5

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

For a mutation tool with no annotations and no output schema, the description is minimal but functional. It states what the tool does, but doesn't provide context about what rule profiles are, what happens after modification, or error conditions. Given the complexity of modifying project configuration, more context would be helpful.

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?

With 100% schema description coverage, the schema already documents all 4 parameters thoroughly. The description doesn't add any meaningful parameter semantics beyond what's in the schema - it doesn't explain what rule profiles are, why you'd add/remove them, or how they affect the project.

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

Purpose4/5

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

The description clearly states the action ('add or remove') and resource ('rule profiles from the project'), making the purpose immediately understandable. However, it doesn't distinguish this tool from its many siblings, particularly those like 'add_dependency' or 'add_tag' that also perform addition operations on different resources.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. With 35 sibling tools including various 'add_' and 'remove_' operations, there's no indication of what makes 'rule profiles' different from other project elements or when this specific tool is appropriate.

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

Related 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/eyaltoledano/claude-task-master'

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