Skip to main content
Glama

List knowledge sources

asks_list_sources
Read-onlyIdempotent

Lists the knowledge sources the AI agent is trained on — text, Q&A, websites (with page counts) and uploaded files — newest first, with each one's training status (draft, training, trained, failed, disabled, syncing). Paginated: follow next_cursor while has_more is true before answering a count.

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

Input Schema

NameRequiredDescriptionDefault
qNoName contains.
typeNo
limitNoPage size (default 20, max 100).
cursorNo`next_cursor` from the previous page. Keep the other arguments unchanged.
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered elsewhere. The description's added value is sort order (newest first), the full status vocabulary, and pagination semantics — useful, but it says nothing about result limits or what a partial last page looks like beyond `has_more`.

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?

Two dense sentences with the resource and ordering front-loaded and pagination caveat last; every clause carries information. The parenthetical page-count detail is slightly incidental but cheap.

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?

For a 5-parameter, no-output-schema list tool, the description covers what is returned, how it is ordered, and how to page through it — enough to call correctly. Minor gaps: default page size behavior and the meaning of `q` matching are left entirely to the schema.

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 60%, and the description compensates by enumerating the status values and explaining the cursor/has_more loop, which is the non-obvious part of the contract. It leaves `q` and the type→source-kind mapping (notably document = uploaded files) implicit, though the type list roughly mirrors the enum.

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 knowledge sources the AI agent is trained on") and enumerates the covered source kinds — text, Q&A, websites, uploaded files — plus the ordering. This distinguishes it from singular/fetch siblings like asks_get_source and from search siblings without ambiguity.

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?

Offers real guidance on pagination ("follow `next_cursor` while `has_more` is true before answering a count"), which tells the agent how to use results for counting. However, it never states when to choose this over asks_search_knowledge or asks_get_sources_summary, so alternative selection is left to inference.

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