Skip to main content
Glama

List the sources of a knowledge base

list_sources
Read-only

List the acts and documents in one of your knowledge bases: work_id, title, languages, source, version and size. Use it to see what it covers or to get work ids. Pass the kb address.

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": {
      "kb": "<kb>"
    },
    "name": "list_sources"
  }
}

Input Schema

NameRequiredDescriptionDefault
kbYesAddress of the knowledge base, "owner/name", from list_knowledge_bases.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds that results are scoped to a single knowledge base and lists the returned fields, but says nothing about result volume, pagination or ordering for a potentially large listing.

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?

Two short sentences, no filler: the resource and its return fields come first, then the usage scenarios and the single argument. Every clause carries information an agent can act on.

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 one-parameter, read-only listing tool with no output schema, the description usefully spells out the fields returned and how to obtain the kb address. The only omission is any note on result size or paging, which matters for a listing that could be long.

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%, and the schema itself already documents the kb parameter as an "owner/name" address obtained from list_knowledge_bases. The description's "Pass the kb address" adds no format or constraint beyond that, so the schema does the heavy lifting.

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 names a specific verb and resource ("List the acts and documents in one of your knowledge bases") and enumerates the returned attributes (work_id, title, languages, source, version, size). It is clear what the tool does, though it does not explicitly contrast itself with siblings like search_knowledge or get_document.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It gives concrete usage context: "Use it to see what it covers or to get work ids," which tells an agent both the discovery scenario and the follow-up pattern. It stops short of stating exclusions or naming the sibling to use instead when full-text search is needed.

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.