Skip to main content
Glama

Morning Fold

Check a project's dependencies

check_dependencies
Read-onlyIdempotent

Check the libraries in a dependency file (Go, JavaScript, Python or Rust: go.mod, package-lock.json, poetry.lock, uv.lock, Cargo.lock and their manifests) against OSV.dev for known vulnerabilities. Pass the whole file. Returns the libraries to update, the version that fixes them and each vulnerability. Nothing about the file is kept.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file": "<file>"
    },
    "name": "check_dependencies"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesthe whole contents of a dependency file: go.mod, package.json, package-lock.json, requirements.txt, pyproject.toml, poetry.lock, uv.lock, Pipfile.lock, Cargo.toml or Cargo.lock
projectNoa name for the project, shown in the answer

Output Schema

NameRequiredDescriptionDefault
noteNo
failedNo
fail_onNo
updatesNo
projectsYes
librariesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses the external dependency (contents are sent to OSV.dev) and a data-retention guarantee ('Nothing about the file is kept'), which is exactly the kind of privacy behavior an agent cannot infer from annotations. It also summarizes the response shape (libraries to update, fixing version, each vulnerability).

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 purpose, then input instruction, then return shape, then retention caveat — a sensible order with no filler. Minor redundancy: the file-format list appears twice inside the description and a third time in the schema's 'file' description, plus 'Pass the whole file' restates the schema.

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 two-parameter read-only tool with an output schema and full annotation coverage, everything an agent needs is present: accepted inputs, the external service contacted, what comes back, and that no file data is retained. Nothing material is missing.

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

Parameters3/5

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

Schema coverage is 100%, so both 'file' and 'project' are already documented, including the 'whole contents' requirement. The description's 'Pass the whole file' reinforces but does not extend the schema, and it says nothing about the optional 'project' parameter or the accepted file-size limits. Baseline 3 is appropriate.

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 gives a specific verb and resource — check libraries in a dependency file against OSV.dev for known vulnerabilities — and enumerates the supported ecosystems and filenames. The operation is unambiguous, but it never contrasts itself with the sibling 'my_dependencies', which an agent could plausibly confuse with this file-based check.

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?

Usage is implied rather than stated: the reader infers this is for auditing a dependency file the caller already has. There is no explicit when-to-use vs. 'my_dependencies', no prerequisites, and no note on what to do for ecosystems or files not listed.

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.

Resources