Skip to main content
Glama

sswp_witness

Idempotent

Scans and cryptographically attests a software project's full dependency graph through a 5-gate pipeline and adversarial probing, producing a self-verifying .sswp.json file sealed with SHA-256.

Instructions

Witness a software project with deterministic attestation. Scans the full dependency graph (every node_modules package with resolved path, integrity hash, and risk score), runs a 5-gate pipeline (GIT_INTEGRITY, LOCKFILE, DETERMINISTIC_BUILD, TEST_PASS, LINT), adversarially probes every dependency for typosquatting, version anomalies, and missing integrity hashes, then produces a self-verifying .sswp.json attestation sealed with SHA-256. Auto-saves the attestation to the SQLite fleet registry and appends an entry to the tamper-proof audit ledger. This is the primary attestation tool — use it when you need a full cryptographic witness of a single repo's state. For multiple repos, use sswp_bulk_witness instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoPathYesAbsolute path to the project root directory containing package.json and node_modules. The tool resolves WSL/Windows path translations automatically.
Behavior5/5

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

The description details the tool's actions: scanning, running a pipeline, adversarial probing, producing an attestation, and auto-saving to a registry and audit ledger. This adds substantial context beyond the annotations (idempotent, not read-only, not destructive) and does not contradict them.

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 three sentences, front-loaded with the main action, and conveys all necessary details without excessive verbosity. It could be slightly more concise by breaking into bullet points, but overall it's efficient.

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?

Given the tool's complexity (single parameter, no output schema), the description covers the input, process, and output well. However, it does not specify what the tool returns to the agent (e.g., success message or attestation path), leaving a minor gap for an agent evaluating the output.

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 schema already describes the repoPath parameter well (100% coverage). The description adds context that the tool expects a directory with node_modules, which is useful but not critical. This slightly elevates the score above the baseline of 3.

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 identifies the tool as the primary attestation tool for single repos, specifying that it produces a self-verifying .sswp.json attestation after scanning the full dependency graph and running a 5-gate pipeline. It distinguishes itself from the sibling sswp_bulk_witness by stating the single-repo scope.

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 explicitly says 'use it when you need a full cryptographic witness of a single repo's state' and 'For multiple repos, use sswp_bulk_witness instead,' providing clear when-to-use and when-not-to-use guidance with a specific alternative.

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/VrtxOmega/sswp-mcp'

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