Skip to main content
Glama
EthYusuf

shipsafe-mcp

Official
by EthYusuf

scan_project

Read-onlyIdempotent

Scan a project for security vulnerabilities and obtain a launch-readiness score, covering leaked secrets, missing access controls, injection flaws, and unsafe dependencies.

Instructions

Scan a web or mobile app project for security issues and return a launch-readiness score.

Detects leaked secrets (public env vars, keys in client bundles), Supabase tables without RLS, open Firebase rules, API routes/server actions without auth, IDOR, SQL/NoSQL/command injection, SSRF, unverified Stripe webhooks, client-controlled prices, AI endpoints without auth or rate limits, insecure mobile config, and hallucinated/typosquatted/vulnerable dependencies.

Args: path: Absolute path to the project root. Defaults to the client's workspace root. check_dependencies: Look up dependencies on npm/PyPI and OSV.dev. offline: Never touch the network (skips registry and vulnerability lookups).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo
offlineNo
check_dependenciesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already communicate read-only, idempotent, open-world, and non-destructive behavior. The description adds useful context beyond those annotations by explaining that dependency lookups happen by default, that offline mode skips network access and registry/vulnerability lookups, and that the scan returns a launch-readiness score.

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 somewhat long because of the comprehensive vulnerability list, but that list earns its place by defining the tool's exact scope. The structure is clear: action, detection scope, then parameter documentation. It is front-loaded and not padded.

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 complex scanner with an output schema, the description sufficiently covers the input parameters, defaults, network behavior, scope, and high-level return value. The annotations cover the read-only and non-destructive profile, so the description is complete enough for an agent to select and invoke the tool correctly.

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

Parameters5/5

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

The schema has 0% description coverage, so the description carries the full burden for parameter meaning. It explains each parameter clearly: path is an absolute project root defaulting to the client workspace root, check_dependencies enables npm/PyPI/OSV.dev lookups, and offline disables network access. This fully compensates for the bare schema.

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 names a specific action ('Scan'), a specific resource ('a web or mobile app project'), and a concrete outcome ('return a launch-readiness score'). It also enumerates a detailed set of checks, which clearly distinguishes this project-wide scanner from siblings like scan_snippet.

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 intended scope is implied by the first sentence and the coverage list, so an agent can infer it is for project-level security review. However, it never explicitly says when to use this tool versus scan_snippet, list_findings, check_dependencies, or generate_report, and it provides no 'when not to use' guidance.

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