Skip to main content
Glama

deslop_analyze

Analyze code files to identify AI-generated slop patterns like verbose comments, unnecessary logging, and redundant error handling.

Instructions

Analyze code files for AI-generated slop patterns (verbose comments, unnecessary logging, redundant error handling, etc.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesFile or directory path to analyze (use '.' for current directory)
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. While it states what the tool analyzes, it doesn't describe behavioral traits like whether this is a read-only operation, what permissions are needed, how results are returned, or any rate limits. For a tool with no annotation coverage, this leaves significant gaps in understanding how it behaves.

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?

The description is a single, efficient sentence that clearly states the tool's purpose without unnecessary words. It's appropriately sized for a simple tool with one parameter, though it could be slightly more structured by separating purpose from pattern examples.

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?

Given no annotations and no output schema, the description is incomplete. It doesn't explain what the analysis returns (e.g., a report, scores, flagged lines), how results are structured, or any behavioral constraints. For a tool that presumably produces analysis output, this leaves the agent guessing about what to expect.

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?

The schema description coverage is 100% (the 'path' parameter is fully documented in the schema), so the baseline is 3. The description doesn't add any parameter-specific information beyond what's already in the schema, but doesn't need to compensate for gaps either.

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 clearly states the tool's purpose: analyzing code files for specific AI-generated slop patterns (verbose comments, unnecessary logging, redundant error handling). It uses a specific verb ('analyze') and resource ('code files'), but doesn't explicitly differentiate from sibling tools like deslop_diff or deslop_fix, which likely perform different operations on similar resources.

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?

The description provides no guidance on when to use this tool versus its siblings (deslop_diff, deslop_fix). It doesn't mention any prerequisites, alternatives, or contextual constraints for usage. The agent must infer usage from tool names alone, which is insufficient.

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/collin-ho/deslop-mcp'

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