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

project_symbol_outline

Lists functions, classes, and types with exact line numbers grouped by file to give a compact code structure overview of a project path.

Instructions

List functions, classes, and types with exact line numbers grouped by file (~150 tok).

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": {
      "target_path": "<target_path>"
    },
    "name": "project_symbol_outline"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_globNoOptional glob filter (e.g. "*.ts", "*.py", "*.smali")
max_symbolsNoMax symbols (default: 60, max: 200)
symbol_typeNoSymbol filter (default: all)all
target_pathYesFile or directory path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.1

TDQS

A3.7/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 add real value by disclosing the approximate output cost (~150 tok) and that results are grouped by file, but it says nothing about truncation when max_symbols is hit, whether directories are recursed, or how errors on an invalid path behave.

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 sentence with zero filler, front-loading the resource and output shape and closing with a useful token estimate.

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 no output schema, the description usefully specifies the return structure (symbol kinds, line numbers, grouped by file), which is the key missing piece. What remains thin is behavior at the limits: truncation under max_symbols and directory recursion.

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 description coverage is 100%, so parameters are already documented and the baseline is 3. The description adds a bit beyond the schema by promising exact line numbers and per-file grouping in the output, which is output semantics the schema does not cover.

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?

A specific verb ("List") and resource set ("functions, classes, and types") plus the output shape (exact line numbers grouped by file). It clearly reads as a structural outline rather than a search tool, though it never names a sibling to distinguish itself from ast_context_search or instant_content_search.

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?

Use is only implied: the "~150 tok" budget hint suggests a cheap first-pass overview of a path before deeper searching, but there is no explicit when-to-use statement, no prerequisite, and no named alternative to route the agent away from.

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