Skip to main content
Glama

atlas_outline

Read-onlyIdempotent

Returns a hierarchical table of contents of indexed documentation headings and section anchors so you can browse project structure or find sections when keyword searches miss.

Instructions

Return the hierarchical table of contents (headings and section anchors) across indexed documentation.

Use this tool when exploring an unfamiliar project structure, browsing available documents,
or when keyword searches (`atlas_where` / `atlas_search`) did not match your query terms.

Behavior & Output:
- Read-only, side-effect-free query of indexed document headings.
- Returns a JSON string `{outline, docs, truncated}` (or `{outline, truncated: true, hint}` when trimmed),
  where `outline` lists each heading level, title, and `[anchor]` ready for `atlas_read`.

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

Input Schema

NameRequiredDescriptionDefault
docNoOptional document ID (e.g. '02-combat' or 'architecture') to list headings for a single document. Omit or pass null to list the table of contents for all documents.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • addedInput schema / properties / doc / description
      Added value: +"Optional document ID (e.g. '02-combat' or 'architecture') to list headings for a single document. Omit or pass null to list the table of contents for all documents."
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered by structured data. What the description adds beyond that is real behavioral context: truncation handling and the `hint` field when the outline is trimmed. It loses a point only because the return-shape detail overlaps an existing output schema.

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?

Front-loaded purpose sentence, then a labeled 'Behavior & Output' block, with zero filler. The structure lets an agent scan purpose, usage condition, and output shape in three short segments.

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 zero-required-parameter read tool with full annotation coverage, this is essentially complete: purpose, when to use, fallback guidance, and truncation behavior are all present. The only redundancy is restating the return shape, which the output schema already supplies.

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 description coverage is 100% and the single `doc` parameter is fully documented in the schema, including the null/omit semantics. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — 'Return the hierarchical table of contents (headings and section anchors) across indexed documentation' — which is clearly distinct from atlas_read (content) and atlas_search/atlas_where (keyword lookup). An agent can tell what this returns without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly names when to use it: exploring unfamiliar project structure, browsing available documents, and as a fallback when `atlas_where` / `atlas_search` fail to match query terms. It both names alternatives and gives the condition that selects them, so routing is unambiguous.

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