Skip to main content
Glama
guardvibe

guardvibe

by goklab

explain_remediation

Explain a GuardVibe rule ID to get risk, exploit scenario, minimum fix, secure alternative, and test strategy, with optional code context.

Instructions

Pass a GuardVibe rule ID (e.g. VG154) to get a detailed explanation: risk assessment, exploit scenario, minimum fix, secure alternative, and test strategy. Optionally pass the affected code snippet for context-aware guidance. Example: explain_remediation({rule_id: 'VG402'})

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": {
      "rule_id": "<rule_id>"
    },
    "name": "explain_remediation"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNoAffected code snippet for context
formatNoOutput formatmarkdown
rule_idYesGuardVibe rule ID (e.g. VG001, VG402)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.66.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Addedv3.35.1
  3. Removedv3.30.0
  4. First observedv0.1.0

TDQS

A3.6/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 does well on response substance by listing exactly what the explanation contains, but says nothing about whether the tool is purely read-only, any auth or rate-limit expectations, or how the format parameter changes the payload shape beyond the enum.

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 plus an example, front-loaded with the required input and immediately followed by what comes back. The trailing example is mildly redundant with the schema's own VG402 example, which keeps it from a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must convey return values — and it does, enumerating all five explanation components and noting the markdown/json format choice. What remains thin is how the optional code snippet actually alters the guidance returned.

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%, so all three parameters are already documented in structured data. The description adds only the code-snippet rationale ('context-aware guidance') and repeats an example call whose rule ID duplicates the schema's own example — baseline 3 applies.

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 states a specific verb and resource — explaining a GuardVibe rule's remediation — and enumerates the five deliverables (risk assessment, exploit scenario, minimum fix, secure alternative, test strategy). That enumeration implicitly separates it from action-oriented siblings like fix_code and remediation_plan, though no sibling is named explicitly.

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

Usage Guidelines4/5

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

It clearly establishes the trigger condition (you have a rule ID and want an explanation) and the optional enrichment path (pass the code snippet for context-aware guidance). It offers no exclusions or explicit alternatives, so it stops short of a 5.

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