Skip to main content
Glama
Kavach MCP Server

Kavach MCP Server

by VAMFI

kavach_remediate_plan

Generate a lockout-safe, human-approved remediation runbook from an existing posture.json so audit findings become reviewable, safe recovery steps.

Instructions

Generate a lockout-safe, human-approved remediation runbook from an existing Kavach posture.json.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "posture_path": "<posture_path>"
    },
    "name": "kavach_remediate_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
posture_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that output is 'lockout-safe' and 'human-approved', but does not say whether the runbook is written to disk, printed, or returned, nor what permissions or side effects are involved.

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?

A single front-loaded sentence with no filler. Every phrase (lockout-safe, human-approved, existing posture.json) carries meaning.

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 tool with no annotations, no output schema, and an undocumented parameter, the description is minimally adequate. It says what is produced conceptually but not the output shape, destination, or failure behavior, leaving real gaps for an agent invoking it.

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 0%, so the description must compensate for the single undocumented parameter. It does imply that posture_path points to an existing Kavach posture.json, but adds no detail on path format, relative vs. absolute resolution, or validation errors.

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 names a specific verb ('Generate') and resource ('remediation runbook') and states the source artifact ('existing Kavach posture.json'), which clearly distinguishes it from audit, correlate, diff, and policy-check siblings. It stops short of naming an explicit alternative, so a 4 rather than a 5.

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?

There is an implied prerequisite ('from an existing Kavach posture.json'), but no explicit when-to-use guidance, no when-not-to-use conditions, and no routing to any alternative tool. An agent must infer that this is a post-scan step.

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