Skip to main content
Glama
Lex6won
by Lex6won

scan_code

Scan code snippets for security vulnerabilities, secret leaks, SQL injection, and privacy risks. Returns masked evidence with risk explanations and safe fixes.

Instructions

코드 조각을 공공기관 보안 기준으로 점검(보안·검토·체크·검사)합니다.

사용자가 메모리에 있는 코드(붙여넣은 스니펫, 방금 생성한 코드)가 "안전한지", 개인정보·시크릿·SQL 삽입·위험한 코드 실행·LLM 위험이 있는지 묻거나, "보안 점검/검토/체크"를 요청하면 이 도구를 사용하세요. 파일·폴더 경로라면 대신 scan_path 를 씁니다.

코드를 외부 API로 보내지 않습니다. 시크릿·개인정보는 마스킹된 짧은 증거만 반환하며, 각 발견 사항에 why_it_matters(왜 위험한가)와 safe_fix(안전한 수정 방향)가 함께 담깁니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
filenameNo<memory>
languageNo
scenarioNo
profileNopublic-default-strict

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Since no annotations are provided, the description carries full burden. It discloses that code is not sent to external APIs, secrets/PII are masked with short evidence, and each finding includes 'why_it_matters' and 'safe_fix'. No contradictions.

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 two short paragraphs, front-loading purpose. It is mostly efficient but could be slightly more concise (e.g., the list of issue types could be shortened). Still, no wasted sentences.

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 has 5 parameters (1 required) and an output schema, the description adequately covers behavioral aspects and return structure (masking, why_it_matters, safe_fix). However, it fails to explain optional parameters, which is a notable gap for completeness.

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

Parameters2/5

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

Schema description coverage is 0% (no descriptions in input schema). The description only explains the 'code' parameter implicitly (the snippet to scan) but does not detail 'filename', 'language', 'scenario', or 'profile'. It adds value for output structure but not for parameters.

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 clearly states it scans code for security vulnerabilities (specific verb+resource) and lists types of issues. It distinguishes itself from the sibling tool 'scan_path' by specifying that 'scan_path' is for file/folder paths.

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

Usage Guidelines5/5

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

The description provides explicit when-to-use (when user asks about code safety or requests a security review) and when-not-to-use (file/folder paths: use scan_path). This clearly differentiates from alternatives.

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/Lex6won/vibecode-checker'

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