Skip to main content
Glama
privacyscrubber-mcp

privacyscrubber-mcp

create_agent_rules

Idempotent

Generates workspace rule files for AI coding agents, guiding them to route file reads, git diffs, and shell commands through PrivacyScrubber Guard tools.

Instructions

Zero-Trust Agentic Guard: Scaffolds CISO-grade AI Agent Rules in workspace (.cursor/rules/privacyscrubber.mdc, .cursorrules, .windsurfrules, CLAUDE.md, AGENTS.md, .github/copilot-instructions.md, .clinerules). Guides autonomous agents to route all file reads, git diffs, and shell commands through PrivacyScrubber Guard tools.

Input Schema

NameRequiredDescriptionDefault
agent_typesNoList of agent targets to generate rules for. Use ['all'] to generate rules for all supported AI agents.
workspace_dirNoTarget workspace root directory. Defaults to current directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.3

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuine value by naming the exact target files, but it does not say whether existing rules files are merged, appended to, or overwritten, nor whether generated files are committed to the repo.

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

Conciseness4/5

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

Two sentences, front-loaded with the action and immediately followed by the file targets. The marketing framing 'Zero-Trust Agentic Guard: CISO-grade' consumes space without informing invocation, but the payload remains compact.

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?

With zero required parameters and full schema coverage, the essentials are present: what is written and where. Missing details that matter for a file-writing scaffolder, such as overwrite/merge behavior and interaction with an existing .cursorrules, leave it only partially complete.

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%, including the enum values for agent_types, so the schema carries parameter meaning. The description's file list loosely maps to the enum targets but adds no format, default, or interaction guidance beyond what the schema already states.

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?

States a concrete verb and resource ('Scaffolds ... AI Agent Rules in workspace') and enumerates the exact files written, so an agent can tell this mutates config files rather than sanitizing content. It does not distinguish itself from the sibling 'create_default_config', which appears to serve an overlapping scaffolding role.

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 explains what the generated rules do (routing file reads, git diffs, and shell commands through Guard tools) but never says when an agent should call this tool, whether it should precede or replace 'create_default_config', or whether a git repository is required. No exclusions or preconditions are given.

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