Skip to main content
Glama
fast-indexer-mcp
by Akramx15

instant_directory_list

List immediate files and subfolders with sizes, ages, and token totals without recursion. Inspect a directory's contents and estimate token usage before deeper searches.

Instructions

List immediate files and subfolders with sizes, ages, and token total (non-recursive).

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": "instant_directory_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
dir_pathNoDirectory path (defaults to ".")
max_resultsNoMax items (default: 50, max: 200)
show_hiddenNoInclude dot entries (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.1

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the key behavioral traits: non-recursive scope and that results include sizes, ages, and a token total. It omits anything about permissions, read-only safety, or ordering/sorting of results, which leaves some gaps for an annotation-free tool.

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?

A single compact sentence with zero filler, and the non-recursive constraint is placed at the end as a parenthetical rather than being buried. Slightly better would be leading with the scope qualifier, but it is efficient throughout.

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?

For a simple three-parameter read tool with no output schema and no annotations, the description covers the essentials: what is listed, that it is non-recursive, and what fields come back. Missing are result ordering and whether the token total is per-item or aggregate, which would matter for interpreting output.

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 dir_path, max_results, and show_hidden are already fully documented in the schema. The description's mention of sizes, ages, and token total describes output rather than adding meaning to any parameter, so the baseline of 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 and resource ('List immediate files and subfolders') and disambiguates scope with '(non-recursive)', which separates it from recursive directory walkers. It does not name any sibling tool, so differentiation is only partial.

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 '(non-recursive)' qualifier implies when this tool is appropriate versus a recursive listing, but there is no explicit when-to-use or when-not-to-use guidance, and no sibling is named as an alternative for deeper or content-based searches.

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