Skip to main content
Glama

isMalicious threat intelligence for AI agents

Watch a project's dependencies for vulnerabilities

watch_dependencies

Start vulnerability monitoring of a project from the text of its lockfile or SBOM: package-lock.json, composer.lock, requirements.txt, Gemfile.lock, Cargo.lock or a CycloneDX JSON SBOM (format detected when omitted). Each dependency is matched by version against OSV and NVD ranges; development dependencies are left out unless includeDev is true. Returns the source, the dependencies read (direct and transitive) and the findings already open, with priority and the version that fixes each. Uses one watched source of the plan; sending the same project name again replaces its file. Pass the file's content, not a path (at most 5 MiB).

Input Schema

NameRequiredDescriptionDefault
nameYesProject name shown in the stack, e.g. shop-frontend.
formatNoThe file's format; detected from the content when omitted.
contentYesThe lockfile or SBOM text.
includeDevNoAlso watch development dependencies (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true and destructiveHint=false; the description adds real context beyond them by disclosing the upsert semantics ('sending the same project name again replaces its file'), the 5 MiB content cap, and what the response contains. Coverage of the external-service dependency (OSV/NVD) is a useful behavioral signal. No contradiction with the hints, though 'replaces its file' sits in mild tension with idempotentHint=false.

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?

Front-loaded with the action and supported formats, then constraints and return shape in descending priority; nearly every clause carries information. It runs long as a single block and repeats the format auto-detection already present in the schema, keeping it just below top marks.

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?

With no output schema, the description correctly summarizes the return payload (source, resolved dependencies, open findings with priority and fix version), which the agent needs in order to interpret results. A four-parameter mutating tool is otherwise well covered; only the lack of explicit sibling routing leaves a small gap.

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 coverage is already 100%, so the baseline is 3, but the description adds meaning the schema does not: content is the file's text not a path, format is auto-detected when omitted, and includeDev governs whether dev dependencies are monitored. These disambiguations directly reduce the most likely invocation error.

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?

States a specific verb and resource ('Start vulnerability monitoring of a project') plus the exact input sources (lockfile formats or CycloneDX SBOM) and the matching engines (OSV and NVD). This scope is unmistakably different from the sibling indicator/CVE lookup tools, so an agent can route here without opening the schema.

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?

Gives clear operating context: supply file text rather than a path, formats are auto-detected when omitted, dev dependencies are excluded unless includeDev is set, and re-sending the same name replaces the source. It does not, however, name an alternative sibling or state when not to use this tool (e.g. a single package lookup vs a whole project).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.