scan_dependency

Composite "should I add this npm package to my project" check in ONE call — fans out across deps.dev (license + advisories + version history) and bundlephobia (gzipped/minified bundle size, dependency count, ESM/tree-shake support). Use whenever an agent asks "is X safe / popular / small" or "wha...

Server Mcp Prayer Times pipeworx-io/mcp-prayer-times
Category Read
Risk class Low
Parameters 21 required

What scan_dependency does on Mcp Prayer Times

AI agents call scan_dependency to retrieve information from Mcp Prayer Times without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
package string Yes npm package name. Scoped packages (e.g. "@types/node") are accepted.
version string Specific version to check (e.g., "18.3.1"). Defaults to the latest published version when omitted.

Parameters from the server's own tool schema.

Why scan_dependency needs a policy

This tool only retrieves and aggregates publicly available metadata about npm packages. It performs no write operations, does not install packages, does not execute code, and cannot modify project state or systems. The blast radius of misuse is minimal—an agent could only receive misleading information about a package, which a human developer would still need to act upon before any real action occurs.

From the tool's definition The tool 'scan_dependency' performs queries across deps.dev and bundlephobia APIs to retrieve information about npm packages. It returns summary data including license, advisories, bundle size, dependency counts, and version history.

Questions about scan_dependency

What does the scan_dependency tool do? +

Composite "should I add this npm package to my project" check in ONE call — fans out across deps.dev (license + advisories + version history) and bundlephobia (gzipped/minified bundle size, dependency count, ESM/tree-shake support). Use whenever an agent asks "is X safe / popular / small" or "what does adding lodash cost me". Returns a summary block (is_latest, license, published_at, advisory_count, bundle_kb_min, bundle_kb_gz, dependency_count, has_esm, tree_shakeable), per-advisory detail, links, and a list of recent alternative versions. NPM ecosystem only in v1; PyPI / Maven / Cargo / Go fall under deps.dev:version directly. Partial failures degrade gracefully — bundlephobia's first measurement on a new version can take 5-30s; sources_failed will list it if it times out, the rest still returns. It is categorised as a Read tool in the Mcp Prayer Times MCP Server, which means it retrieves data without modifying state.

What parameters does scan_dependency accept? +

scan_dependency accepts 2 parameters: package, version. Required: package. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on scan_dependency? +

Register the Mcp Prayer Times MCP server in PolicyLayer and add a rule for scan_dependency: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp Prayer Times. Nothing to install.

What risk level is scan_dependency? +

scan_dependency is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit scan_dependency? +

Yes. Add a rate_limit block to the scan_dependency rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block scan_dependency completely? +

Set action: deny in the PolicyLayer policy for scan_dependency. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides scan_dependency? +

scan_dependency is provided by the Mcp Prayer Times MCP server (pipeworx-io/mcp-prayer-times). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.