Skip to main content
Glama
Context-Todos

Context-Todos

by Eeymoo

Scan File for TODOs

scan-file

Parse a single file to find and return all TODO, FIXME, HACK, and XXX comments, helping you locate outstanding code tasks quickly.

Instructions

Parse a single file and return all TODO/FIXME/HACK/XXX comments found in it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "scan-file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesFile path (absolute or relative)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0-alpha.2

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses scope (one file) and what is extracted, and 'parse'/'return' imply a read-only operation, but nothing is said about failure modes (unsupported extension, missing file, binary content) or the shape of the returned matches.

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?

One sentence, front-loaded with the verb and ending with the exact tag list. Nothing is padded or repeated from the title.

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 is simple (one required param, no nested objects), but with no output schema the description should sketch what comes back (e.g., line numbers, file path) and note how unsupported extensions are handled, especially given the sibling that enumerates supported extensions.

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% and the single parameter is already documented as 'File path (absolute or relative)'. The description adds only the 'single file' constraint, which the schema does not state, so it lands at baseline.

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 states a specific verb and resource ('Parse a single file') and enumerates exactly what is extracted (TODO/FIXME/HACK/XXX comments). This is unmistakably different from the sibling list-supported-extensions, so an agent can pick it without opening a schema.

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 phrase 'single file' implies scope (one file, not a tree), which is a useful implicit usage cue. But there is no explicit when-to-use guidance, no prerequisite (e.g., supported extensions before calling), and no statement of when not to use it.

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

Deploy Server

Other Tools