Skip to main content
Glama
sparkvibe-io

GuardianShield

by sparkvibe-io

scan_code

Scan source code to detect security vulnerabilities like SQL injection, XSS, and hardcoded secrets, then receive prioritized findings with remediation guidance.

Instructions

Scan source code for security vulnerabilities (SQL injection, XSS, command injection, path traversal) and hardcoded secrets/credentials. Returns a list of findings with severity, type, and remediation guidance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesThe source code to scan.
enginesNoOptional list of engine names to use for this scan.
languageNoOptional programming language hint.
file_pathNoOptional file path for context in findings.
Behavior3/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 states the tool scans for security vulnerabilities and secrets and returns findings with severity, type, and remediation guidance. However, it does not disclose important behavioral traits such as whether the scan is static or dynamic, if the code is executed, network calls are made, or if the tool has any rate limits, performance impacts, or prerequisites. The description is adequate but leaves open questions about safety and performance.

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?

The description is a concise two-sentence structure that front-loads the tool's primary purpose. It lists specific vulnerability types to set context and mentions the return format. It is efficient and does not contain filler, earning a high score, though it could be slightly improved by adding a brief usage hint.

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?

Given the tool's complexity (4 parameters, no output schema), the description provides the core purpose and return format but lacks details on behavior, parameter semantics, and usage context compared to siblings. With 26 sibling tools, more explicit differentiation would strengthen completeness. The description is functional but not comprehensive.

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 baseline is 3. The description does not add any parameter-specific details beyond what the schema already provides. For example, it does not clarify how the 'engines' parameter interacts with the tool, what valid values for 'language' are, or how 'file_path' influences the scan. The description adds no extra semantic value for parameters.

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 clearly states 'Scan source code for security vulnerabilities...' and lists specific vulnerability types (SQL injection, XSS, etc.) as well as hardcoded secrets. It also mentions the return type, which helps distinguish it from sibling tools like scan_file or scan_directory that may focus on scanning a single file or a directory rather than arbitrary code content.

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 meant for scanning source code for vulnerabilities and secrets, but does not explicitly state when to use it versus alternatives like scan_file (for a single file), scan_directory (for a directory), or check_secrets (for secrets only). No guidance is given on when not to use it, such as when scanning compiled code or non-source artifacts.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sparkvibe-io/GuardianShield'

If you have feedback or need assistance with the MCP directory API, please join our Discord server