Skip to main content
Glama

chat_outline

Read-onlyIdempotent

Build a turn index with short previews for a chat and auto-warm the SQLite cache for long threads. Use it to choose start/end indexes before reading a full payload.

Instructions

Build a turn index with short previews for a chat (auto-warms the SQLite cache for long threads). Prefer before chat_read to choose start/end indexes; use chats_get for the full payload, chat_cache_read when the cache is already warm. Empty/omitted chatId = open tab. Requires browsers_bind.

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": {
      "platform": "<platform>"
    },
    "name": "chat_outline"
  }
}

Input Schema

NameRequiredDescriptionDefault
branchNoConversation branch: active thread only, or all branches when the provider supports them
chatIdNoChat id; omit or empty for the open tab
platformYesProvider id: chatgpt | grok | grok-x | copilot | claude | qwen | deepseek | perplexity | kimi | zai | minimax
previewCharsNoPreview length per turn (40-300 chars)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.1.1
    • changedInput schema / properties / platform / description
      Previous value: -"Provider id: chatgpt | grok | grok-x | claude | copilot | qwen | deepseek | perplexity"New value: +"Provider id: chatgpt | grok | grok-x | copilot | claude | qwen | deepseek | perplexity | kimi | zai | minimax"
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "chatgpt",
      -  "grok",
      -  "grok-x",
      -  "copilot",
      -  "claude",
      -  "qwen",
      -  "deepseek",
      -  "perplexity"
      -]New value: +[
      +  "chatgpt",
      +  "grok",
      +  "grok-x",
      +  "copilot",
      +  "claude",
      +  "qwen",
      +  "deepseek",
      +  "perplexity",
      +  "kimi",
      +  "zai",
      +  "minimax"
      +]
  2. Changed4 schema fields changedv1.0.4
    • addedInput schema / properties / branch / description
      Added value: +"Conversation branch: active thread only, or all branches when the provider supports them"
    • addedInput schema / properties / chatId / description
      Added value: +"Chat id; omit or empty for the open tab"
    • addedInput schema / properties / platform / description
      Added value: +"Provider id: chatgpt | grok | grok-x | claude | copilot | qwen | deepseek | perplexity"
    • addedInput schema / properties / previewChars / description
      Added value: +"Preview length per turn (40-300 chars)"
  3. First observedv1.0.3

TDQS

A4.4/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: it discloses the side effect of auto-warming the SQLite cache for long threads, the default scoping for an empty/omitted chatId, and the browsers_bind dependency. The cache-warming note sits in mild tension with readOnlyHint=true, but since it is only a local cache warm and not user-data mutation, it is best read as useful disclosure rather than a contradiction.

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?

Three compact sentences, front-loaded with purpose and then routing and prerequisites; almost nothing is wasted. The parenthetical cache note is slightly parenthetical noise but still earns its place as a side-effect disclosure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Although there is no output schema, the description conveys the return shape (turn index with short previews and start/end indexes) well enough to plan a follow-up chat_read. Prerequisite, defaults, and side effects are all covered for a 4-parameter read tool.

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%, so branch, chatId, platform, and previewChars ranges are already documented. The description restates the chatId default ('Empty/omitted chatId = open tab') without adding new syntax or format meaning, so the baseline of 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: 'Build a turn index with short previews for a chat', and immediately differentiates output shape from siblings ('chats_get for the full payload'). An agent knows exactly what artifact this produces versus the heavier read tools.

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?

Gives explicit sequencing ('Prefer before chat_read to choose start/end indexes'), names the alternatives and the conditions selecting them (chats_get for full payload, chat_cache_read when the cache is already warm), and states the browsers_bind prerequisite. This is the when/when-not/alternative pattern at full strength.

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