Skip to main content
Glama
SyedAnas01

mcp-safeguard

by SyedAnas01

compare_scans

Compare two security scans by UUID to identify regressions or improvements, enabling quick assessment of changes between scans.

Instructions

Compare two security scans to identify regressions or improvements.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scan_id_1YesUUID of the baseline scan.
scan_id_2YesUUID of the comparison scan.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.3

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It does not state whether the operation is read-only, whether it has side effects, whether the scan IDs must come from a particular source, or whether the comparison is order-sensitive. This leaves meaningful behavioral ambiguity for a tool with no annotation safety cues.

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?

The description is a single clear sentence with no filler or redundant phrases. It front-loads the core action and outcome, making it easy for an agent to parse quickly.

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 simple two-parameter tool with an output schema, the description is minimally sufficient: it states the core purpose and the parameters are fully documented in the schema. However, it lacks usage guidance and behavioral transparency, which are needed to fully compensate for the absence of annotations.

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 the schema already documents both parameters as UUIDs for baseline and comparison scans. The description adds no further semantic detail, such as how the IDs should be ordered, but it does reinforce the comparison intent. Baseline 3 is appropriate because the schema carries the load.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Compare') with a clear resource ('two security scans') and names the intended outcome ('identify regressions or improvements'). This distinguishes it well from siblings like get_scan_history or generate_security_report, since none of those describe a direct two-scan comparison.

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?

The description implies the tool is used when an agent already has two scans to compare, but it provides no explicit guidance on when to prefer it over alternatives, nor does it state when not to use it. The context is inferable but not spelled out, so the agent must reason from sibling names to select it.

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