Skip to main content
Glama
SyedAnas01

mcp-safeguard

by SyedAnas01

get_scan_history

Retrieves a list of past security scans with severity scores and targets, ordered by recency.

Instructions

List all past scans with their severity scores and targets.

Returns: Dict with a list of scan summaries, sorted by recency.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.3

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations present, the description carries the behavioral disclosure burden. It clearly implies a read-only operation, states the return shape (Dict with list of summaries), and adds behavioral detail about ordering (sorted by recency). It could mention pagination or retention, but it's adequate for a simple list tool.

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 short and front-loaded: the main action and resource appear in the first sentence, and the return format is relegated to a brief follow-up. No filler or redundancy.

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

Completeness5/5

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

For a zero-parameter, read-only listing tool with an output schema present, the description covers the essential behavioral details: what it lists, what fields are included, and how results are ordered. Nothing needed for successful invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so there is nothing to document. The description still clarifies what the results contain, which is more than the empty schema provides. Baseline 4 is appropriate for a no-parameter tool.

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 ('List') and a clear resource ('all past scans'), and specifies the key returned fields (severity scores, targets). This distinguishes it from sibling tools like compare_scans and generate_security_report without needing to open schemas.

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?

The description gives clear context for when to use the tool: retrieving historical scan data. It doesn't explicitly name alternatives or exclusion conditions, but for a simple zero-parameter read tool, the context is unambiguous enough.

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