Skip to main content
Glama
sparfenyuk

venv-mcp-server

add_packages

Add multiple packages to pyproject.toml and update the virtual environment, with an option to install as dev dependencies.

Instructions

Add many packages to pyproject.toml at once and update the virtual environment.

Args: package_names: List of names of the packages to install. dev: If True, add the package to the development dependency group.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
package_namesYes
devYes
current_working_dirYes
Behavior3/5

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

Adds value by stating that the virtual environment is updated, but lacks details on error handling, rollback, or whether it overwrites existing packages. As no annotations are provided, this is only partial.

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?

Concise, with a clear one-sentence purpose followed by a structured parameter list. No wasted words, though the parameter descriptions could be integrated into the schema for better structure.

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

Completeness2/5

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

Does not cover error scenarios, behavior on failure, or differentiation from siblings like 'init' or 'sync'. With no output schema and 3 required params, the description is insufficiently comprehensive.

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?

Describes two parameters (package_names and dev) in the docstring, but the third parameter 'current_working_dir' is not explained. Schema coverage is 0%, so description partially compensates but is incomplete.

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?

Description clearly states verb (add), resource (packages to pyproject.toml and virtual environment), and bulk operation. Distinguishes from sibling 'add_package' which is singular.

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?

Implies bulk use via 'many packages at once' but does not explicitly state when to use this tool versus alternatives like 'add_package' or prerequisites (e.g., pyproject.toml must exist).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sparfenyuk/venv-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server