Skip to main content
Glama
petridisa

pyenv-manager-mcp

by petridisa

set_local_version

Set the Python version for the current directory by writing it to .python-version, ensuring project-specific interpreter selection.

Instructions

Set the local directory Python version (.python-version).

Args:
    version: The version string to set locally (e.g., '3.12.2').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A3.7/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full burden. It states the action and the file but does not disclose that setting will overwrite an existing .python-version file, whether the version must be installed, or any other side effects.

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

Conciseness5/5

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

Two short sentences plus an Args block; every part is informative. No filler or duplication of schema titles.

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?

For a one-parameter setter, the core is covered, but the absence of behavioral notes and sibling differentiation makes it slightly incomplete. A note about overwriting or relation to set_global_version would make it fully self-sufficient.

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

Parameters4/5

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

With 0% schema coverage, the description compensates by explaining that the version is the local version string and provides a concrete format example ('3.12.2'), giving the agent a clear idea of acceptable values.

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 uses a specific verb ('Set') and names the exact resource ('local directory Python version (.python-version)'), clearly distinguishing it from set_global_version. It leaves no doubt about the tool's function.

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?

The description implies a local, per-directory scope, but it never explicitly contrasts this with set_global_version or lists conditions for when to prefer one over the other. An agent must infer usage from the tool name and sibling list.

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

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/petridisa/pyenv-manager-mcp'

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