Skip to main content
Glama

quick_outline

Read-only

Extract symbols and headings with line numbers from up to 30 code, Markdown, or JSON files in one call to locate code sections without reading entire files.

Instructions

Outline 1-30 files in one call: symbols / headings with 1-based line numbers and total line count. TS/JS (class, interface, type, enum, function, method), Python (class, def), GDScript (class_name, class, signal, enum, const, func), Go, Rust, C#, Markdown headings, JSON keys (depth <= 2). No external dependencies.

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": {
      "files": "<files>"
    },
    "name": "quick_outline"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoBase directory for relative paths (default: router cwd).
filesYesFiles to outline (TS/JS, Python, GDScript, Go, Rust, C#, Markdown, JSON).
maxCharsNoInline output cap (500..8800); overflow is spooled to a file.
maxSymbolsPerFileNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description adds real behavioral context beyond that: the 30-file ceiling, that lines are 1-based, what is extracted per language, and the JSON key depth limit of 2. Minor gap: no mention of failure behavior for unsupported or missing files, which annotations do not cover.

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?

Front-loaded with the primary capability, then a compact per-language manifest of what gets extracted. Dense and nearly waste-free; the long parenthetical lists make it slightly harder to scan than an ideal definition.

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 carries the return-value burden and does so adequately by naming the symbol kinds, the 1-based line numbers, and the total line count. The remaining unknowns (ordering of results, format of the spooled file on overflow) are secondary for a read-only inspection tool.

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 75%, so the baseline is 3. The description does add genuine meaning absent from the schema, notably the 'depth <= 2' rule for JSON keys and the language whitelist for the files array, but maxSymbolsPerFile has no documented meaning in either schema or description.

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 ('Outline 1-30 files') plus the exact output content (symbols/headings with 1-based line numbers and total line count), which lets an agent know precisely what it gets back. It does not explicitly contrast itself with any sibling such as batch_search, so it stops short of a 5.

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?

Usage is implied rather than stated: 'in one call' and the multi-language list signal it is the bulk-orientation tool for reading many files cheaply. There is no explicit when-to-use, when-not-to-use, or named alternative, so an agent must infer the boundary itself.

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