Skip to main content
Glama

dev_purl

Read-only

Package URL (purl) parser / builder — Offline Package URL (purl, ECMA-427) parser, validator and normalizer for SBOM and supply-chain work. Pass purl (e.g. pkg:npm/%40angular/core@16.2.0 or pkg:maven/group/artifact@version) to get type, namespace, name, version, qualifiers and subpath, the canonical purl, normalizations applied (pypi underscores, lowercase rules), warnings, the OSV ecosystem + package name, the deps.dev system, and registry links. Or pass type and name (plus optional namespace and version) instead of purl to build one. Invalid purls return 422 (not charged). Price: $0.001 USDC (Base, via x402).

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": {
      "purl": "<purl>"
    },
    "name": "dev_purl"
  }
}

Input Schema

NameRequiredDescriptionDefault
purlYespkg:maven/org.apache.logging.log4j/log4j-core@2.14.1

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=true, destructiveHint=false, openWorldHint=true), the description discloses pricing ($0.001 USDC via x402 on Base), error behavior ('Invalid purls return 422 (not charged)'), and the fact that parsing is offline. Since there is no output schema, enumerating the returned fields is also genuinely additive rather than redundant.

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 modes, then return fields, then error/pricing. Dense but every element carries information; the only inefficiency is the long comma-separated return-field inventory and a slight restatement of the title in the opening clause.

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?

For a single-parameter tool with no output schema, the description covers inputs, return values, error behavior and cost well. Its one completeness defect is the advertised builder mode that the schema does not support, which leaves the agent unsure whether purl is truly mandatory.

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

Parameters2/5

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

Schema coverage is 100%, but the description claims an alternate build mode taking 'type and name (plus optional namespace and version) instead of purl', while the schema exposes only a single required 'purl' string property with no sibling fields. An agent following the description would try to invoke parameters that do not exist. The purl example formats (pkg:npm/..., pkg:maven/...) are useful added meaning, but the mode mismatch is a real invocation hazard.

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 — 'Package URL (purl) parser / builder' — and elaborates with 'validator and normalizer for SBOM and supply-chain work', plus the exact output fields (type, namespace, name, version, qualifiers, subpath, canonical purl, OSV ecosystem, deps.dev system). This distinguishes it from generic siblings like dev_package, dev_npm or dev_pypi without needing to name them.

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?

Clear dual-mode guidance: 'Pass purl ... to get ...' or 'pass type and name (plus optional namespace and version) instead of purl to build one', and it scopes the tool to SBOM/supply-chain work. It does not name any alternative among the many sibling package tools (dev_package_compare, dev_vulns, dev_lockfile_audit) or say when a different tool is the better choice.

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