Skip to main content
Glama

project_outline

Read-only

Summarize a ShareLaTeX project without reading every file by returning its file tree and section headings from the root and included .tex files.

Instructions

Summarize a ShareLaTeX project without reading every file.

Read-only. project is a project name or id. Returns the file tree,
the headings of the root .tex file, and the headings of files pulled
in by \input or \include. The root file is main.tex when it exists,
otherwise the first .tex document that contains \documentclass.
Includes are followed recursively with cycle detection. At most 30 files
are opened. root_file overrides automatic root selection.

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": {
      "project": "<project>"
    },
    "name": "project_outline"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYes
root_fileNo

Output Schema

NameRequiredDescriptionDefault
resultYes

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 already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety is covered; the description still adds substantive behavior: recursive include traversal with cycle detection, a hard cap of 30 files opened, and deterministic root selection (main.tex, else first file with \documentclass). These are operational facts an agent cannot get from the annotations and that affect result completeness. It does not discuss truncation reporting when the 30-file cap is hit, which is the remaining gap.

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 one-line purpose, then the read-only flag, then return contents, then edge-case semantics (root selection, recursion, file cap). Every clause carries information and nothing is repeated. Slightly denser than necessary but no filler sentences.

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 two-parameter read-only tool with an output schema, the description covers purpose, return contents, recursion limits, and root-selection fallback, which is enough to call it correctly. The output schema handles return-value detail, so the only unresolved question is how truncation at 30 files is signaled in the response.

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 0%, so the description must carry the load, and it does: 'project' is clarified as a name or id, and 'root_file' is explained as an override of the automatic root selection, with the automatic rule itself spelled out. The only missing detail is the expected format of root_file (path vs. filename), which keeps it from a 5.

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 ('Summarize a ShareLaTeX project') and immediately scopes it with 'without reading every file', which implicitly contrasts it with the per-file readers in the sibling set. It also enumerates what the summary contains (file tree, root headings, included-file headings), so an agent knows the shape of the result. It stops short of naming a concrete alternative tool, 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 rather than stated: the tool is for getting an overview of a project's structure and headings without opening files. There is no explicit 'use this instead of get_sections/read_file when...' guidance and no stated preconditions (e.g., whether the project must be compiled or accessible). Adequate but leaves routing to the agent's inference.

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