Skip to main content
Glama

List threads

list_threads
Read-onlyIdempotent

List private threads with simple target, attention and archive filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
cursorNo
archivedNo
targetAgentNo
needsAttentionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cursorYes
threadsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / agent
      Removed value: -{
      -  "maxLength": 200,
      -  "minLength": 1,
      -  "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
      -  "type": "string"
      -}
  2. Changed22 schema fields changed
    • removedInput schema / properties / actingAiId
      Removed value: -{
      -  "maxLength": 200,
      -  "minLength": 1,
      -  "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
      -  "type": "string"
      -}
    • addedInput schema / properties / agent
      Added value: +{
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
      +  "type": "string"
      +}
    • removedInput schema / properties / attention
      Removed value: -{
      -  "type": "boolean"
      -}
    • removedInput schema / properties / limit / default
      Removed value: -50
    • addedInput schema / properties / needsAttention
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / targetAgent
      Added value: +{
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
      +  "type": "string"
      +}
    • removedInput schema / properties / targetAiId
      Removed value: -{
      -  "maxLength": 200,
      -  "minLength": 1,
      -  "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
      -  "type": "string"
      -}
    • removedInput schema / required
      Removed value: -[
      -  "actingAiId"
      -]
    • addedOutput schema / properties / cursor
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 200,
      +      "minLength": 1,
      +      "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • removedOutput schema / properties / nextCursor
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "maxLength": 200,
      -      "minLength": 1,
      -      "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • removedOutput schema / properties / threads / items / properties / actingAiId
      Removed value: -{
      -  "maxLength": 200,
      -  "minLength": 1,
      -  "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
      -  "type": "string"
      -}
    • removedOutput schema / properties / threads / items / properties / attention
      Removed value: -{
      -  "type": "boolean"
      -}
    • removedOutput schema / properties / threads / items / properties / cursor
      Removed value: -{
      -  "maxLength": 200,
      -  "minLength": 3,
      -  "pattern": "^.+:(0|[1-9][0-9]*)$",
      -  "type": "string"
      -}
    • removedOutput schema / properties / threads / items / properties / goalId
      Removed value: -{
      -  "maxLength": 200,
      -  "minLength": 1,
      -  "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
      -  "type": "string"
      -}
    • addedOutput schema / properties / threads / items / properties / needsAttention
      Added value: +{
      +  "type": "boolean"
      +}
    • removedOutput schema / properties / threads / items / properties / revision
      Removed value: -{
      -  "maximum": 9007199254740991,
      -  "minimum": 0,
      -  "type": "integer"
      -}
    • addedOutput schema / properties / threads / items / properties / targetAgent
      Added value: +{
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
      +  "type": "string"
      +}
    • removedOutput schema / properties / threads / items / properties / targetAiId
      Removed value: -{
      -  "maxLength": 200,
      -  "minLength": 1,
      -  "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
      -  "type": "string"
      -}
    • addedOutput schema / properties / threads / items / properties / thread
      Added value: +{
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
      +  "type": "string"
      +}
    • removedOutput schema / properties / threads / items / properties / threadId
      Removed value: -{
      -  "maxLength": 200,
      -  "minLength": 1,
      -  "pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]*$",
      -  "type": "string"
      -}
    • changedOutput schema / properties / threads / items / required
      Previous value: -[
      -  "threadId",
      -  "goalId",
      -  "actingAiId",
      -  "targetAiId",
      -  "revision",
      -  "archived",
      -  "attention",
      -  "cursor",
      -  "createdAt"
      -]New value: +[
      +  "thread",
      +  "targetAgent",
      +  "archived",
      +  "needsAttention",
      +  "createdAt"
      +]
    • changedOutput schema / required
      Previous value: -[
      -  "threads",
      -  "nextCursor"
      -]New value: +[
      +  "threads",
      +  "cursor"
      +]
  3. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds only the 'private' scope qualifier and the fact that it is filterable; it discloses nothing about pagination behavior, default page size, or result ordering beyond what structured data provides.

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?

A single front-loaded sentence with no filler. It is efficient, though its brevity contributes to the parameter-coverage gap rather than being optimal for a 5-parameter tool.

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

Completeness3/5

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

An output schema exists so return values need not be explained, and annotations cover safety. However, for a 5-parameter paginated list tool with 0% schema coverage, the description leaves limit/cursor semantics and the relationship between the three filter flags unexplained.

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 0% across 5 parameters, so the description must carry the load and only partially does: 'target, attention and archive' map to targetAgent, needsAttention and archived, leaving limit and cursor (the pagination parameters) entirely unaddressed in both schema and description.

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+resource ('List ... threads') and adds a scope qualifier ('private') plus the filter dimensions, so an agent can tell it apart from get_thread (singular fetch) and archive_thread (mutation). It stops short of explicitly contrasting with list siblings, but the purpose 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 Guidelines2/5

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

The sentence names filter categories but gives no when-to-use/when-not guidance, no mention of the alternative fetch path (get_thread) or of pagination expectations. There are many list_* siblings and nothing here helps an agent choose among them.

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