Skip to main content
Glama

outline_list_collections

Retrieve all document collections from Outline to organize and manage your structured content efficiently.

Instructions

List all collections in Outline

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The `getCollections` method implementation in `OutlineClient`, which is responsible for fetching collections from the Outline API.
    async getCollections(): Promise<Collection[]> {
      const endpoints = ['/api/collections.list', '/api/collections/list', '/api/collections', '/api/collection/list'];
    
      for (const endpoint of endpoints) {
        try {
          const response = await this.api.post(endpoint, {});
          return response.data.data || response.data;
        } catch (error: any) {
          if (error.response?.status === 404 && endpoint !== endpoints[endpoints.length - 1]) {
            console.error(`Endpoint ${endpoint} not found, trying next...`);
  • src/index.ts:284-295 (registration)
    The tool `outline_list_collections` handler within the main MCP tool execution block.
    case 'outline_list_collections':
      return {
        content: [
          {
            type: 'text',
            text: JSON.stringify(
              await this.outlineClient.getCollections(),
              null,
              2
            ),
          },
        ],
Behavior2/5

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

With no annotations provided, the description carries the full disclosure burden but only specifies 'all' collections are returned. It lacks details on pagination behavior, response size limits, sorting order, or performance implications of listing all collections.

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?

The description is extremely brief (5 words) and front-loaded with the action. While efficient, it borders on underspecification given the lack of output schema and annotations that could provide necessary context.

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?

Without an output schema or annotations, the description fails to compensate by describing the return format, collection object structure, or any rate limiting concerns. For a 'list all' operation, this omission of behavioral constraints leaves significant gaps.

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?

The tool has zero parameters with 100% schema coverage (trivially). The description doesn't need to elaborate on inputs, meeting the baseline expectation for parameter-less tools.

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 uses a specific verb ('List') and clear resource ('collections in Outline'), distinguishing it from sibling 'outline_get_collection' (single retrieval) and 'outline_list_documents' (different resource). However, it doesn't explicitly clarify when to prefer this over the single-collection getter.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives like 'outline_get_collection' (for single collection retrieval) or any filtering considerations. No prerequisites or exclusion criteria are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HelicopterHelicopter/outline-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server