suggest_manifest_fix
Write one well-formed markdown section of an agent manifest (CLAUDE.md / AGENTS.md) to close a finding from analyze_manifest. Uses your ANTHROPIC_API_KEY. Returns the section markdown to insert.
This record as markdown: /tools/ai-clarx-mcp/suggest-manifest-fix.md
What suggest_manifest_fix does on Mcp
AI agents use suggest_manifest_fix to create or update resources in Mcp, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Mcp environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
doc_path | string | — | Manifest path used in the prompt, e.g. CLAUDE.md. |
file_path | string | — | Read the current manifest from this path instead of inlining it. |
repo_name | string | — | |
repo_readme | string | null | — | README excerpt for grounding (max ~2500 chars used). |
section_key | string | Yes | Section to write. One of: overview, architecture, build, testing, conventions, directory, entry, glossary, tasks, deployment, apis. |
current_content | string | — | Current full manifest content for context (may be empty for a new file). Pass this or file_path. |
repo_description | string | null | — |
Parameters from the server's own tool schema.
Why suggest_manifest_fix is rated Medium
This tool creates or modifies manifest files by generating and inserting markdown sections. While it modifies files, the changes are reversible (markdown sections can be edited or removed), making it Write rather than Destructive.
From the tool's definition Tool description states it will "Write one well-formed markdown section" and "Returns the section markdown to insert," indicating creation/modification of manifest files. The tool uses ANTHROPIC_API_KEY for authentication.
Risk signalsAccepts file system path (file_path)
Attacks that exploit this kind of access
The rule that runs suggest_manifest_fix safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Mcp, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For suggest_manifest_fix, this is the rule to start with:
suggest_manifest_fix stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Mcp, apply this rule, and every suggest_manifest_fix call is checked against it from then on.
Questions about suggest_manifest_fix
Write one well-formed markdown section of an agent manifest (CLAUDE.md / AGENTS.md) to close a finding from analyze_manifest. Uses your ANTHROPIC_API_KEY. Returns the section markdown to insert. It is categorised as a Write tool in the Mcp MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
suggest_manifest_fix accepts 7 parameters: doc_path, file_path, repo_name, repo_readme, section_key, current_content, repo_description. Required: section_key. The full parameter table on this page comes from the server's own tool schema.
Register the MCP server in PolicyLayer and add a rule for suggest_manifest_fix: 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. Nothing to install.
suggest_manifest_fix is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the suggest_manifest_fix 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.
Set action: deny in the PolicyLayer policy for suggest_manifest_fix. 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.
suggest_manifest_fix is provided by the MCP server (@clarxai/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on , and thousands of servers like it.
This server
Across the catalogue