Skip to main content
Glama

list-knowledge

Lists an agent's knowledge base sources with their status so you can confirm whether an uploaded file or added website has finished processing and is ready.

Instructions

List an agent's knowledge base sources (uploaded files, pages, whole websites) with their status — pending, processing, ready or error — plus the plan limits. Use it to check whether a website added with add-website-knowledge has finished reading.

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": {
      "agentId": "<agentId>"
    },
    "name": "list-knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentIdYesThe agent ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does disclose meaningful behavior: the four possible source statuses (pending, processing, ready, error) and the fact that plan limits are returned alongside sources. This is substantive beyond the schema. It omits minor operational details such as ordering, pagination, or permission requirements, which keeps it from a 5.

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 sentences, zero filler, and the resource scope plus status enumeration are front-loaded before the usage hint. Every clause earns its place.

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 simple one-parameter read tool with no annotations and no output schema, the description covers what the tool returns (sources with status, plus plan limits) and the primary reason to call it. Minor gaps remain around what exactly the plan limits contain and whether results are ordered or paged, but nothing essential to invoking it correctly is missing.

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?

There is a single required parameter, agentId, and schema description coverage is 100%, so the schema already documents it fully. The description adds no format, source, or validation detail about agentId. Baseline 3 is appropriate since the schema does the heavy lifting.

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 ("List an agent's knowledge base sources") and enumerates the resource types covered (uploaded files, pages, whole websites) plus the returned status states. An agent can distinguish this read/list operation from the sibling write tools like add-website-knowledge or resync-knowledge without opening any schema.

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?

Explicitly names a use case and the sibling that creates the condition: "Use it to check whether a website added with add-website-knowledge has finished reading." That routes the agent correctly for the polling scenario. It stops short of stating when not to use it (e.g., versus list-agents or resync-knowledge), so it is clear context rather than full when/when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.