Skip to main content
Glama

Get chat list

get_chat_list
Read-onlyIdempotent

Get one custom chat list and the chats in it, by ID or name.

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

Input Schema

NameRequiredDescriptionDefault
idNoList ID (from list_chat_lists)
nameNoList name, when the ID is not known
target_sessionNoSession ID for multi-account routing

Output Schema

NameRequiredDescriptionDefault
resultNoThe JSON-compatible result returned by the Kaption extension

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so the safety profile is covered. The description adds only that the response includes the chats in the list, plus the “custom” qualifier; it says nothing about behavior when both id and name are supplied or about missing/ambiguous lists.

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?

A single front-loaded sentence with no filler; the scope and lookup keys are stated immediately.

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 simple read tool with full schema coverage, an output schema, and complete annotations, only minor gaps remain (ID-vs-name precedence, pointer to list_chat_lists for discovery). Nothing essential to a correct call is missing.

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?

With 100% schema description coverage, the baseline is 3. The description's “by ID or name” restates what the schema already documents and gives no precedence rule or guidance for the optional target_session routing parameter.

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 (Get) and resource (one custom chat list plus its chats), and the singular “one” implicitly separates it from list_chat_lists. It does not explicitly name the sibling, but the scope is unambiguous.

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?

The phrase “by ID or name” hints at two invocation paths, and “one” implies the difference from a list operation, but there is no explicit when-to-use guidance and no mention of list_chat_lists as the way to discover IDs (that hint exists only in the schema).

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