Skip to main content
Glama

describe_environment

Inspect a local ComfyUI install: report Python interpreter, installed custom node packs, registered nodes, and checkpoint files to guide package installation and debugging.

Instructions

Report ComfyUI's Python environment: interpreter, packages, node packs, checkpoints.

The starting point for anything to do with installing. Three sources are read and they answer different questions, which is why none of them is enough alone: the disk says what is installed in custom_nodes, ComfyUI's /object_info says what registered, and get_comfy_log says why a pack did neither. A disabled pack and a pack whose import died are both simply absent from /object_info.

pinned is the set whose version is decided by which CUDA build this install has. Nothing here will move one, and plan_packages refuses a plan that would.

Args: packages: include the full name==version listing. It is long - 286 lines on the install this was written against - so it is off by default and the counts plus pinned are what a caller normally needs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packagesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.10

TDQS

A4.5/5.0
Behavior4/5

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

No annotations, so the description carries the full burden, and it delivers: it discloses the three data sources read, that disabled and import-failed packs are both absent from /object_info, and that `pinned` packages are immovable and `plan_packages` will refuse a plan that moves one. It never explicitly states this is a read-only operation, which is the main remaining gap.

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?

Front-loaded with the purpose, then the sources rationale, then the Args block. Every section is informative, though the multi-sentence justification of the three sources is somewhat verbose for a single-parameter read tool.

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

Completeness5/5

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

With an output schema present, return values need not be described, and the description still covers what is read, the meaning of `pinned`, and the cost tradeoff of the `packages` flag. Nothing needed to invoke this correctly is missing.

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

Parameters5/5

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

Schema coverage is 0% and the boolean `packages` param is entirely undocumented in the schema, but the description fully compensates: it explains the param adds the full name==version listing, that this is long (~286 lines), that it is off by default, and that counts plus `pinned` are what callers normally need.

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?

States a specific verb+resource ('Report ComfyUI's Python environment') and enumerates what it reports: interpreter, packages, node packs, checkpoints. It also differentiates itself from siblings by naming get_comfy_log and plan_packages and explaining the distinct question each answers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Explicitly frames itself as 'the starting point for anything to do with installing' and routes the agent to get_comfy_log for the complementary question of why a pack failed. It does not state when *not* to call it, so it stops short of full when/when-not coverage.

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