Skip to main content
Glama
Kavach MCP Server

Kavach MCP Server

by VAMFI

kavach_diff_baseline

Compare baseline and current Kavach posture.json files to detect new regressions, escalations, and resolved security posture items.

Instructions

Compare baseline vs current Kavach posture.json files to detect new regressions, escalations, and resolved items.

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": {
      "baseline_path": "<baseline_path>",
      "current_path": "<current_path>"
    },
    "name": "kavach_diff_baseline"
  }
}

Input Schema

NameRequiredDescriptionDefault
current_pathYes
baseline_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add real behavioral value by disclosing the three result categories it reports (regressions, escalations, resolved), but leaves unstated whether the operation is read-only, what happens if a path is missing or malformed, and whether it mutates state.

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; the comparison target and the detectable outcome types are packed into one clause that an agent can act on immediately.

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 no annotations, no output schema, and two undocumented parameters, the description is doing a lot of work in one line. It covers what is compared and what categories come back, but omits safety profile, failure modes, and the prerequisite baseline artifact, which matter for a two-path file comparison.

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 coverage is 0% — both parameters are bare strings with no descriptions. The description partially compensates by tying them to 'baseline' and 'current' Kavach posture.json files, giving the agent the expected file type, but says nothing about path form (absolute/relative), file naming, or validation behavior.

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 specific verb (Compare), specific artifacts (baseline vs current Kavach posture.json files) and the outcome classes it produces (new regressions, escalations, resolved items). An agent can tell this is a diff/comparison tool, though it never names which sibling to use instead when a full audit or policy check is what's wanted.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: 'baseline vs current' suggests post-change verification, but the description never says when to prefer this over kavach_policy_check or kavach_audit_agent, nor what prerequisite (an existing baseline file) must exist first.

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