Skip to main content
Glama

batch_outline

Extract structural code outlines from up to 40 files in a single MCP round-trip, reducing repeated calls when you need a quick map of symbols across a codebase.

Instructions

Extract structural code outlines across up to 40 files in one MCP round-trip.

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": {
      "filePaths": "<filePaths>"
    },
    "name": "batch_outline"
  }
}

Input Schema

NameRequiredDescriptionDefault
filePathsYes
maxTotalCharsNo
maxItemsPerFileNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. 'Extract' implies a read-only operation, but nothing is said about handling of nonexistent or unreadable files, partial failures, or what happens when the character/item budgets are exceeded — the presence of maxTotalChars and maxItemsPerFile strongly suggests truncation behavior that is never explained.

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 front-loaded sentence with no filler, and the batch scope is stated up front. It is efficient, though the terseness leaves the gaps noted in other dimensions.

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

Completeness2/5

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

With no output schema, no annotations, and three undocumented parameters, the description should explain what an 'outline' contains and how truncation manifests. Instead it leaves the agent guessing about result shape and budget behavior for a multi-file tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for all three parameters. The description only restates the maxItems=40 constraint already in the schema and says nothing about maxTotalChars (an output budget implying truncation) or maxItemsPerFile (per-file outline depth cap), so an agent cannot tell how those knobs change results.

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?

The description gives a specific verb and resource ('Extract structural code outlines') plus a scope qualifier ('across up to 40 files in one MCP round-trip'), which implicitly separates it from the single-file sibling code_outline. It stops short of naming that sibling, so an agent must infer the distinction from the word 'batch' alone.

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?

'batch' and 'in one MCP round-trip' imply the intended situation (many files, efficiency), but there is no explicit when-to-use vs code_outline, no guidance on when a single-file call is preferable, and no prerequisites or exclusions.

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