Skip to main content
Glama

List chatbots

list_chatbots
Read-onlyIdempotent

List chatbots

Returns the chatbots visible to the key, newest first. An ordinary account key sees only its own chatbots; a reseller key sees every chatbot belonging to that reseller and can narrow the result to one customer with userId. Paging defaults to 100 items per page, which is also the maximum. pagination.total is a real count of every chatbot matching the request, produced by a separate count query, so a page count can be worked out from it.

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_chatbots"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage to return. Starts at 1; values below 1 are clamped to 1.
userIdNoReseller keys only: restrict the result to a single customer account. The key must be a reseller key and the account must be one of that reseller customers, otherwise the request is rejected with 403. Ignored for ordinary account keys, which always see only their own records.
perPageNoItems per page. Clamped to the range 1 to 100; larger values are reduced to 100.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds genuine context beyond them: result ordering (newest first), permission-dependent visibility, a concrete failure mode (403 when a userId is outside the reseller's customers), and the fact that `pagination.total` comes from a separate count query. That is exactly the behavioral detail an agent cannot infer from the annotations.

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?

Front-loaded with purpose then scope then paging, and every sentence carries information. The only waste is the opening line repeating the tool name/title before the substantive content begins.

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?

With no output schema, the description usefully covers the return envelope (ordering, total count semantics) and paging limits, plus the permission model for `userId`. It is slightly short on what fields a chatbot record contains, but an agent has enough to call it correctly and interpret the result.

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 coverage is 100%, so `page`, `userId`, and `perPage` are already documented including clamping and the 403 rejection. The description largely restates those facts; its only added value is explaining how `pagination.total` relates to page counts, which is a return-value note rather than new parameter meaning. Baseline 3 applies.

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 gives a specific verb+resource ("List chatbots") and immediately defines scope: chatbots visible to the key, newest first, with account-key vs reseller-key visibility spelled out. It doesn't distinguish itself from chatty siblings like list_chatbot_knowledge or list_chatbot_integrations, but the resource 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?

It explains the visibility model and that reseller keys can narrow to one customer via `userId`, which implies when the parameter is applicable. However, there is no explicit when-to-use vs. when-not guidance and no routing to alternative tools for chatbot-related sub-resources.

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.