Skip to main content
Glama
codedev-mcp

codedev-mcp

by Kranthithota

find_todos

Read-onlyIdempotent

Locate TODO, FIXME, HACK, XXX, BUG, and OPTIMIZE comments across a codebase, optionally filtering by subdirectory or file pattern to surface tasks and issues.

Instructions

Find TODO, FIXME, HACK, XXX, BUG, and OPTIMIZE comments in the codebase.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_todos"
  }
}

Input Schema

NameRequiredDescriptionDefault
directoryNoSubdirectory to search
file_globNoFilter by file pattern, e.g. "*.ts"

Output Schema

NameRequiredDescriptionDefault
checkYes
totalYes
matchesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.5

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and closed-world scope, so the safety profile is covered. The description adds nothing about scan behavior — whether it respects .gitignore, skips vendored/node_modules paths, or matches case-sensitively — which matters for a whole-codebase scanner.

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?

A single front-loaded sentence that enumerates the exact markers and wastes no words. Nothing is buried or repeated.

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

Completeness4/5

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

With an output schema present and all parameters documented, return format and argument meaning need no prose. The only soft gap is unstated default behavior when no directory or glob is supplied.

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 description coverage is 100%, so 'directory' and 'file_glob' are already documented in the schema. The description adds no extra meaning such as default scope when directory is omitted, so the baseline 3 applies.

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?

States a specific verb (find) and a well-defined resource: TODO/FIXME/HACK/XXX/BUG/OPTIMIZE comments. The enumerated marker list effectively separates it from siblings like find_dead_code or find_debug_logs without naming them.

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 when-to-use, when-not-to-use, or alternative-naming guidance at all. The agent must infer from the marker list that this is a code-quality sweep rather than, say, a log search.

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