Skip to main content
Glama
PierreJanineh

Tech Debt MCP Server

execute_custom_rules

Read-only

Apply custom rules to source code or files to detect technical debt and code quality issues, providing actionable insights for prioritization.

Instructions

Execute all custom rules against code or a file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoAbsolute filesystem path to the file to analyze (maximum 500000 bytes). An empty string is treated the same as omitting the field.
codeNoSource code content to analyze directly (maximum 500000 characters; alternative to path). Either path or code must be provided.
languageNoOptional: programming language for filtering rules
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the description mainly confirms execution without mutation. It adds that it runs 'all' custom rules, which is useful context. However, no additional behavioral details (e.g., performance impact, error handling) are disclosed beyond what annotations provide.

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, concise sentence that front-loads the purpose. Every word is necessary—no fluff or redundancy.

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?

The tool has 3 parameters with full schema descriptions and no output schema. The description covers the function but omits details about return values or output format. Given the simple nature of the tool, this is adequate but leaves room for improvement.

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%, so the parameters are fully documented in the schema. The description does not add significant meaning beyond restating that it analyzes 'code or a file,' which aligns with the 'path' and 'code' parameters. No extra details on format or constraints are provided.

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 clearly states the tool's purpose: 'Execute all custom rules against code or a file.' It identifies the verb (execute), resource (custom rules), and scope (code or a file), distinguishing it from siblings like 'add_custom_rule' or 'list_session_custom_rules'.

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 usage for running custom rules but provides no explicit guidance on when to use this tool versus alternatives like 'analyze_file' or 'get_issues_by_category'. No exclusions or prerequisites are mentioned.

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/PierreJanineh/TechDebtMCP'

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