Skip to main content
Glama

Lilia Editor

Read a document's outline

get_outline
Read-onlyIdempotent

A document's structure: its title, kind and LaTeX class, the heading outline, and every block in order as {id, type, snippet}. Call it first: the other tools take these block ids.

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": {
      "documentId": "<documentId>"
    },
    "name": "get_outline"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentIdYesThe document id from list_documents.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds genuine value by disclosing the return shape and the cross-tool dependency on block ids, but says nothing about failure behavior for an unknown documentId or how large documents are handled.

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?

Two tight sentences, the returned content first and the actionable 'call it first' instruction second — no filler. The opening noun phrase rather than a verb makes it slightly less immediately scannable than a verb-led statement.

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 well by listing each returned field plus the block tuple shape. It is slightly incomplete on scale/pagination and error cases for an invalid id, but an agent has enough to call it correctly.

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?

There is a single parameter with 100% schema description coverage, and the schema already explains it comes from list_documents. The description adds no additional meaning about documentId, so the baseline 3 applies.

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 enumerates exactly what the tool returns — title, kind, LaTeX class, heading outline, and every block as {id, type, snippet} — which is far more specific than the title alone. It doesn't name a sibling such as get_document to contrast with, so the agent must infer that this is the lightweight structural view, but the returned-field list does most of the differentiating work.

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

Usage Guidelines4/5

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

"Call it first: the other tools take these block ids" gives explicit ordering guidance and states the dependency that makes this tool a prerequisite for block-level operations. There is no explicit when-not case (e.g., use get_document when you need full content), so it stops short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources