Skip to main content
Glama

List chatbot knowledge sources

list_chatbot_knowledge
Read-onlyIdempotent

List chatbot knowledge sources

Returns every knowledge source attached to one chatbot. Only the first 100 characters of each entry are returned, as contentSnippet; the full stored text is never sent by this endpoint. The response is a plain list with no paging. Entries belong to the account that owns the chatbot, so a reseller key that reads a customer chatbot sees the same entries as the customer.

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": {
      "chatbotId": "<chatbotId>"
    },
    "name": "list_chatbot_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatbotIdYesNumeric identifier of the chatbot.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well past the annotations (which only declare read-only, idempotent, non-destructive, closed-world) by disclosing that content is truncated to a 100-character `contentSnippet`, that the full text is never returned by this endpoint, that there is no paging, and that a reseller key sees the same account-owned entries as the customer. Those are exactly the behavioral traits an agent needs before choosing this call.

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?

Four short sentences, each carrying distinct information: return scope, truncation behavior, absence of paging, and account visibility. The response-shape caveat is front-loaded and nothing is padded.

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?

No output schema exists, yet the description explains the return shape (a plain unpaged list of snippet-truncated entries), which is precisely what would otherwise be missing. For a one-parameter read tool, nothing an agent needs to call it correctly is absent.

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% and the single `chatbotId` parameter is already documented, so the baseline of 3 applies. The description adds only indirect context (entries belong to the account owning the chatbot), not additional meaning about the parameter itself.

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 and resource ('List chatbot knowledge sources') and scopes it to exactly one chatbot. It does not, however, distinguish itself from close siblings such as list_chatbot_knowledge_crawls or list_chatbot_knowledge_sync, so an agent must infer the boundary from names alone.

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?

Usage is only implied by the purpose statement; there is no explicit 'use this when...' or exclusion guidance versus the crawl/sync variants or the add/delete/refresh siblings. An agent can infer the read-listing intent, but the definition does nothing to route it among alternatives.

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.