Skip to main content
Glama

security_registry_config_check

Read-only

Package registry config audit (.npmrc, pip, Maven, NuGet) — Offline supply-chain review of package manager registry configs: .npmrc, .yarnrc.yml, pip.conf/pip.ini, .pypirc, Maven settings.xml and NuGet.config (format auto-detected, or pass format= npmrc|yarnrc|pip|pypirc|maven|nuget). Flags committed tokens (npm_, ghp_, glpat-, pypi-) and plaintext _authToken/passwords, credentials inside URLs, plain-HTTP registries, TLS verification turned off (strict-ssl=false, enableStrictSsl false, trusted-host), dependency-confusion setups (pip extra-index-url, NuGet sources without packageSourceMapping, Maven repos without a mirror), disabled checksums, bypassed Maven HTTP blocker, unsafe-perm, install scripts and missing hash pinning. Returns verdict, score, grade, findings with line numbers and fixes, plus registry hosts. Secret values are never echoed. Params: text= the file contents, or url= a raw file URL. Price: $0.005 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": {
      "text": "<text>"
    },
    "name": "security_registry_config_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYese.g. registry=http://npm.internal.example.org/

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered; the description adds genuinely new behavior: the response shape (verdict, score, grade, findings with line numbers and fixes, registry hosts), the guarantee that secret values are never echoed, and the $0.005 x402 payment requirement. That pricing/payment detail is operational context an agent needs and cannot derive from annotations or schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first clause, which is good, but the body is a single run-on paragraph built from em-dash-separated enumerations of every individual check (strict-ssl, trusted-host, packageSourceMapping, unsafe-perm, etc.). That laundry list is longer than needed for tool selection and buries the call-shape facts at the end of the paragraph.

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 one-string audit tool with no output schema, the description is unusually complete: it explains what is detected, what is returned (verdict/score/grade/findings), and that secrets are redacted. The only material gap is the phantom url= and format= parameters, which leave the agent uncertain about the actual invocation contract.

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% with a single 'text' parameter, so the baseline would be 3, but the description asserts two parameters that do not exist in the input schema ('url= a raw file URL' and 'format= npmrc|yarnrc|pip|...'). This actively misleads an agent into constructing invalid arguments, overriding the modest value of confirming that text is the file contents.

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 names a specific verb and resource ('Offline supply-chain review of package manager registry configs') and enumerates the exact file types covered (.npmrc, .yarnrc.yml, pip.conf, .pypirc, Maven settings.xml, NuGet.config). Against siblings like security_ssh_config_check or security_kubeconfig_check, an agent can immediately tell which config class this handles 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is strongly implied by the format enumeration and the 'offline' framing, so it is clear this tool is for committed registry config files rather than live registries. However, there is no explicit when-to-use/when-not-to-use guidance relative to siblings, and the description references a 'format=' selector as an alternative path, which invites calls the single-parameter schema cannot satisfy.

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