Skip to main content
Glama
zeromodern

@zeromodern/mcp-server-0mod

Official
by zeromodern

code_denoise

Remove comments, docstrings, whitespace, and sourcemaps from code files to produce cleaner, more compact code.

Instructions

Strip comments, docstrings, whitespace, and sourcemaps from code files

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesCode content to clean
languageNoProgramming language

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden. It lists what gets stripped but does not disclose whether the operation is lossy, what happens with invalid input, whether it modifies in place, or what the return value looks like. The lack of output schema further amplifies this gap.

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?

The description is a single, front-loaded sentence that directly states the tool's purpose. There is no redundant information or filler.

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?

The tool has no annotations and no output schema, yet the description provides no information about return values, error behavior, or language handling. While the tool is relatively simple, the description still leaves essential details unstated.

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 coverage is 100% for both parameters (code and language), so the schema already documents them fully. The description adds no additional meaning or constraints beyond the schema, resulting in a baseline score of 3.

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 ('Strip') and clearly identifies the resource ('comments, docstrings, whitespace, and sourcemaps from code files'). This distinguishes it from sibling tools, which generally target other data types or operations.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives, no prerequisites, and no mention of exclusions. The description is purely a definition without any contextual usage instructions.

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