Skip to main content
Glama
mcp-pkg-local

mcp-pkg-local

by descoped

scan-packages

Scans and indexes all packages in a virtual environment, or only project dependencies, and can force a refresh to update cached results.

Instructions

Scan and index all packages in the virtual environment

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": "scan-packages"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNoScan all packages or only project dependencies (default: all)all
forceRefreshNoForce rescan even if cached (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, and it discloses almost nothing about behavior. "Index" implies persistent state or cache mutation, yet the description never says what is written, whether prior cached data is replaced, how long the scan takes, or what permissions it needs. The parameter name forceRefresh hints at caching, but that is left for the agent to reverse-engineer from the schema.

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?

A single front-loaded sentence with no filler, which is easy to parse. It is efficient but slightly under-specified rather than verbose, so it loses a point for what it omits rather than for padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (2 optional, fully documented parameters) and has no output schema, so the schema side is covered. However, with zero annotations the description must carry behavioral risk information for what appears to be a state-writing index operation, and one sentence stating scope falls short of that.

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 description coverage is 100%: both scope and forceRefresh have inline descriptions covering their enums and defaults. The prose adds no syntax, format, or interaction detail beyond those schema entries, so the baseline of 3 applies.

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 states a specific verb pair ("scan and index") against a specific resource ("all packages in the virtual environment"), so the agent knows exactly what operation it triggers. It does not say how this differs from the sibling read-package, leaving the agent to infer that this is a bulk indexing operation rather than a single lookup.

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 only implied: "all packages in the virtual environment" suggests a bulk/prerequisite step, but there is no explicit statement of when to run this versus read-package, nor any prerequisite or cost warning. The agent has to infer the workflow position of this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools