Skip to main content
Glama
Akshay1018

CodeDoc MCP Server

by Akshay1018

guardian_scan

Scan code for security vulnerabilities. Choose to scan Git uncommitted changes, specific files or folders, or default to the current working directory.

Instructions

Versatile security scanner.

  • If scan_uncommitted is True: Scans only changed files in Git.

  • If target_path is provided: Scans that specific file or folder.

  • Default: Scans current working directory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
target_pathNo
scan_uncommittedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses conditional behavior based on parameters (scan_uncommitted, target_path, default) but does not state whether the operation is read-only, has side effects, or requires certain permissions. This is a gap for a security 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 concise and front-loaded with 'Versatile security scanner.' The three bullet points each explain a distinct scenario in a single line, with no redundant information.

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?

For a tool with 2 optional parameters and an output schema, the description covers the main behavior well. The only missing context is the precedence rule when both parameters are provided, and it does not mention any prerequisites (e.g., Git repo for scan_uncommitted). Overall, it is fairly complete.

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?

Schema description coverage is 0%, so the description must compensate. It effectively explains both parameters: scan_uncommitted triggers Git diff scanning, target_path scans a specific file/folder, and default scans cwd. However, it does not specify precedence when both parameters are provided, leaving ambiguity.

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 it is a 'security scanner' and explains its versatile behavior through parameter-based conditions. It distinguishes itself from siblings by showing different scan scopes (uncommitted, specific path, current directory), but does not explicitly name alternative tools.

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 provides clear when-to-use guidance by explaining the behavior for each parameter: 'If scan_uncommitted is True', 'If target_path is provided', and the default. However, it does not mention exclusions or explicitly compare with sibling tools like scan_project_files or global_security_audit.

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/Akshay1018/mcp-codedoc'

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