Skip to main content
Glama

List knowledge sources

list_knowledge_sources
Read-onlyIdempotent

Lists the websites and documents the AI draws on for reply suggestions, each with its training state (training, ready, failed), the background job state for websites and the number of stored text chunks, plus a brand summary: whether everything is trained and whether the initial import of the connected social channels has finished. sourceId narrows to one source, e.g. after add_knowledge_source; website training usually takes a few minutes. Social channels are not knowledge sources; get_account lists them.

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": {
      "brand": "<brand>"
    },
    "name": "list_knowledge_sources"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandYes
sourceIdNoOnly this knowledge source.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, and the description adds genuine context beyond that: the possible training states (training, ready, failed), the presence of a background job state, chunk counts, and the brand-level rollup of whether the initial social-channel import finished. It stops short of covering ordering, limits, or auth requirements, so it is strong but not complete.

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-loads the core purpose and return contents before the parameter and exclusion notes, and every clause carries information. The opening sentence is long and packs many subordinate clauses, which slightly hurts scannability but does not waste words.

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 takes on the burden of explaining return values and does so thoroughly: per-source training state, job state, chunk count, and a brand summary. It omits pagination/limits and does not explain the required brand parameter, which are the remaining gaps for a list tool of this complexity.

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?

The required 'brand' parameter is never explained in the description, and its schema entry has no description either, which leaves a real gap at 50% coverage. The sourceId discussion largely restates the schema description but does add the useful usage cue tied to add_knowledge_source, so the description compensates only partially.

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?

States a specific verb and resource ("Lists the websites and documents the AI draws on for reply suggestions") and immediately enumerates what each entry carries: training state, background job state, chunk count, and a brand-level summary. It also draws a hard boundary against a sibling by declaring that social channels are not knowledge sources and belong to get_account.

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?

Gives explicit when-to-use guidance for the optional parameter ("sourceId narrows to one source, e.g. after add_knowledge_source"), an explicit exclusion ("Social channels are not knowledge sources"), and names the alternative tool that covers the excluded case. The note that website training usually takes a few minutes tells the agent when re-listing is worthwhile.

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