Skip to main content
Glama

list_lists

Read-onlyIdempotent

The user's lists (personal, Team, and lists shared with them; Views are excluded — use list_views), each with its description, how many people are on it, and how many suggestions are waiting for a decision. Start here when the user names a list — it's where the list_id comes from. Chat Lists — the people each chat surfaced, one List per chat — are included only with kind='chat' or kind='all'.

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

Input Schema

NameRequiredDescriptionDefault
kindNo'curated' (default) saved lists, 'chat' chat Lists, or 'all'.

Output Schema

NameRequiredDescriptionDefault
okYesWhether noticed completed the operation.
dataNoThe operation result when ok is true.
errorNoA human-readable error when ok is false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / kind
      Added value: +{
      +  "description": "'curated' (default) saved lists, 'chat' chat Lists, or 'all'.",
      +  "enum": [
      +    "curated",
      +    "chat",
      +    "all"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / data / properties / lists / items / properties / chat_session_id
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / data / properties / lists / items / properties / kind
      Added value: +{
      +  "enum": [
      +    "curated",
      +    "chat"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / data / properties / lists / items / properties / member_count / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "data": {
      +      "additionalProperties": false,
      +      "description": "The operation result when ok is true.",
      +      "properties": {
      +        "lists": {
      +          "items": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "ai_enabled": {
      +                "type": "boolean"
      +              },
      +              "description": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "list_id": {
      +                "type": "string"
      +              },
      +              "member_count": {
      +                "type": "number"
      +              },
      +              "name": {
      +                "type": "string"
      +              },
      +              "organization_id": {
      +                "$ref": "#/properties/data/properties/lists/items/properties/description"
      +              },
      +              "pending_count": {
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "list_id",
      +              "name"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "total": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "lists",
      +        "total"
      +      ],
      +      "type": "object"
      +    },
      +    "error": {
      +      "description": "A human-readable error when ok is false.",
      +      "type": "string"
      +    },
      +    "ok": {
      +      "description": "Whether noticed completed the operation.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior. The description adds useful behavioral context beyond them: each list includes description, member count, and pending suggestion count, and Chat Lists are included only for kind='chat' or kind='all'.

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?

The description is tightly front-loaded with scope, exclusions, return contents, and usage guidance. Every sentence adds a distinct decision-relevant detail without wasting space.

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?

For a one-parameter read-only listing tool with an output schema and rich annotations, this description covers what the tool returns, when to use it, what is excluded, and how the kind parameter affects inclusion. Nothing material is missing for correct invocation.

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?

Schema coverage is 100%, so the enum values are already documented. The description still adds meaning by explaining that Chat Lists are one List per chat and are included only with kind='chat' or kind='all', which goes beyond the schema's terse enum descriptions.

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?

The description states a specific resource: the user's personal, Team, and shared lists, with Views explicitly excluded. It names the sibling list_views as the alternative for Views, so an agent can distinguish this tool without opening another 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?

It gives explicit routing guidance: 'Start here when the user names a list' and says this is where list_id comes from. It also states that Views are excluded and that list_views should be used instead, and it clarifies when Chat Lists are included.

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