Skip to main content
Glama
Jeon-byeong-yoon

code-smell-detection-mcp

get_smells_by_file

Retrieve code smells for a specific file path, with optional filters for commit hash, job name, or team project ID.

Instructions

파일 경로 기준으로 smell 목록을 조회한다. commitHash가 없으면 최신 결과를 사용한다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo최대 반환 건수
jobNameNoJenkins job name 필터
filePathYessource file path (부분 일치)
commitHashNocommit hash 필터
teamProjectIdNoCodeVi team project ID 필터
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It adds the commitHash fallback behavior, which is useful, but does not mention return format, error scenarios, or performance considerations. The word '조회' implies read-only, but safety is not explicitly stated.

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 two short sentences, front-loaded with the main purpose and a key conditional. No fluff; every word earns its place.

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 5-parameter tool with no annotations and no output schema, the description covers the core purpose and one behavioral nuance but leaves out details like partial matching of filePath and response structure. It is adequate but has clear gaps in completeness.

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?

Schema covers all 5 parameters, and the description adds meaning beyond the schema by explaining the default behavior of commitHash and highlighting filePath as the primary filter. This adds value for those two parameters, though others are left to the schema.

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 retrieves a smell list based on file path, providing a specific verb, resource, and scope. It distinguishes from siblings like list_smell_findings or get_smell_analysis by emphasizing the file path criterion.

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?

The description implies usage context: use when filtering by file path, and notes that without commitHash the latest result is used. This provides clear context, though it does not explicitly mention alternatives or exclusions relative to sibling tools.

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/Jeon-byeong-yoon/code-smell-detection-mcp'

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