# 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.

Agent View of the PolicyLayer registry record for `suggest_manifest_fix`. HTML page: https://policylayer.com/tools/ai-clarx-mcp/suggest-manifest-fix

## Facts

- Tool: `suggest_manifest_fix`
- Server: Mcp (`@clarxai/mcp`) — https://policylayer.com/tools/ai-clarx-mcp.md
- Install: `npx -y @clarxai/mcp`
- Homepage: https://github.com/Gernika-Labs/clarx-cloud
- Risk category: Write (Medium risk)
- Registry record: grade C, identity unverified
- Server rate-limited: no
- Parameters: 7 (1 required)
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `doc_path` | string | no | Manifest path used in the prompt, e.g. CLAUDE.md. |
| `file_path` | string | no | Read the current manifest from this path instead of inlining it. |
| `repo_name` | string | no |  |
| `repo_readme` | string | null | no | 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 | no | Current full manifest content for context (may be empty for a new file). Pass this or file_path. |
| `repo_description` | string | null | no |  |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "suggest_manifest_fix",
    "arguments": {
      "section_key": "<section_key>"
    }
  }
}
```

## 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 own 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 signals: Accepts file system path (file_path)

## Use case

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.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Mcp:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "suggest_manifest_fix": {
      "limits": [
        {
          "counter": "suggest_manifest_fix_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Mcp (4)

- `analyze_clarx_manifest` — Read — https://policylayer.com/tools/ai-clarx-mcp/analyze-clarx-manifest.md
- `analyze_manifest` — Read — https://policylayer.com/tools/ai-clarx-mcp/analyze-manifest.md
- `generate_manifest_draft` — Write — https://policylayer.com/tools/ai-clarx-mcp/generate-manifest-draft.md
- `get_ci_workflow` — Write — https://policylayer.com/tools/ai-clarx-mcp/get-ci-workflow.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=ai-clarx-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/ai-clarx-mcp
