Skip to main content
Glama

OnchainCheck Dev Docs

Packages check

packages_check
Read-onlyIdempotent

Audit up to 20 dependencies in one call: paste a package.json or requirements.txt, or list packages (npm:lodash@4.17.15; npm, PyPI, Go, Cargo, Maven, NuGet, RubyGems). Each gets OSV vulnerabilities and malware reports with severity and fixing version, deprecation, licenses and an ok/review/upgrade/avoid verdict; npm and PyPI names that don't exist (invented by a model) and lookalikes of popular packages are flagged. Plus a summary. Data: deps.dev, OSV.dev, registries. Costs $0.01 USDC on Base via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "packages_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
manifestNopackage.json or requirements.txt contents, instead of packages
packagesNoComma- or newline-separated ecosystem:name@version (version optional: latest)
ecosystemNoDefault ecosystem for entries without a prefix

Output Schema

NameRequiredDescriptionDefault
sourcesNostring, e.g. "deps.dev (Open Source Insights) and OSV.dev, both CC-BY 4.0
summaryNoobject
packagesNoarray
checkedAtNostring, e.g. "2026-11-27T05:10:49.346Z"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, open-world), but the description goes well beyond them: it discloses the verdict taxonomy (ok/review/upgrade/avoid), hallucinated-name and lookalike flagging, data sources (deps.dev, OSV.dev, registries), and a paid cost of $0.01 USDC on Base via x402 — a critical behavioral fact absent from structured fields.

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?

Dense but front-loaded, leading with the batch action and cap before inputs, outputs, sources, and cost. A few clauses are tightly packed (the long mid-sentence output list) and 'Plus a summary' is a fragment, but nothing is wasted.

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?

Output schema exists, yet the description still summarizes return contents, adds the batch limit, input modes, data provenance, and payment requirement. Nothing an agent needs in order to decide to call it is missing.

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 100%, so the baseline is 3; the description adds value with a concrete syntax example ('npm:lodash@4.17.15'), the supported ecosystems, and the hard 20-dependency limit that the schema does not encode. The version-optional convention is documented in the schema rather than repeated here.

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 scope ('Audit up to 20 dependencies in one call') plus the resource and its verdict outputs. The 'up to 20 ... in one call' phrasing implicitly separates it from the singular package_check sibling, and the mix of accepted inputs is spelled out.

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 input-context guidance ('paste a package.json or requirements.txt, or list packages') so an agent knows what to hand it, and the batch cap hints at when batching is appropriate. No explicit when-not-use or named alternative (package_check) is given, so it falls short of a 5.

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