Skip to main content
Glama

outline

Read-only

Show document structure by listing sectioning commands in reading order, following \input and \include from a specified .tex file or detected main file.

Instructions

Show the document structure: sectioning commands in reading order, following \input and \include.

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

Input Schema

NameRequiredDescriptionDefault
pathNoStart from this .tex file and follow \input/\include. Omit to start from the detected main file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare readOnlyHint and openWorldHint; the description adds the meaningful detail that it follows \input/\include, explaining why the tool may reach beyond a single file. It stops short of describing output shape or how deep/broad the traversal goes, but the key behavioral trait is disclosed.

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 core action and followed by the two qualifiers that matter. Nothing is padded or redundant.

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 one-parameter read-only inspection tool with annotation coverage and no output schema, the description supplies the essential scope and traversal behavior. A brief note on what the outline entries look like (e.g., section levels, line numbers) would close the remaining gap.

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?

The single parameter is fully documented in the schema (100% coverage), including the default and the 'detected main file' fallback. The description adds only the traversal rationale, which the schema already implies, so this sits at the baseline.

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 ('Show the document structure') and qualifies it with 'sectioning commands in reading order, following \input and \include', so an agent knows exactly what comes back. It does not name or contrast a sibling such as read_file or search_project, which keeps it from 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 by the LaTeX framing — you call this when you want the document's section skeleton rather than file contents. There is no explicit when-to-use/when-not statement and no pointer to an alternative like read_file for raw text, leaving the agent to infer the boundary.

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