Skip to main content
Glama

List knowledge

list_knowledge
Read-onlyIdempotent

List knowledge files and folders for this company (names, slugs, sizes, folders). search matches file NAMES and folder-qualified slugs only — not body text — and walks nested folders. Omit search to browse one folder level. Read a body with read_knowledge by slug. Always-on files live in canon/ (injected into chat and skill gen within a size budget); everything else is on-demand via read_knowledge. Use when discovering what knowledge exists before reading a file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folderNoOptional folder to list contents of (e.g., "canon", "partners"). Omit to list the root level. Combined with search, starts the nested name search at that folder. Always-on docs live in canon/.
searchNoOptional name-only filter (filename and folder-qualified slug, including nested folders). Does not search file bodies — use read_knowledge by slug for content.
companyIdYesFreedomOS company id to act within (you must be a member). Required for company-scoped tools.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / folder / description
      Previous value: -"Optional folder to list contents of (e.g., \"canon\", \"partners\"). Omit to list the root level. Always-on docs live in canon/."New value: +"Optional folder to list contents of (e.g., \"canon\", \"partners\"). Omit to list the root level. Combined with search, starts the nested name search at that folder. Always-on docs live in canon/."
    • changedInput schema / properties / search / description
      Previous value: -"Optional name-only filter (filename/slug). Does not search file bodies — use read_knowledge by slug for content."New value: +"Optional name-only filter (filename and folder-qualified slug, including nested folders). Does not search file bodies — use read_knowledge by slug for content."
  2. Changed2 schema fields changed
    • changedInput schema / properties / folder / description
      Previous value: -"Optional folder to list contents of (e.g., \"acme-deal\", \"partners\"). Omit to list the root level."New value: +"Optional folder to list contents of (e.g., \"canon\", \"partners\"). Omit to list the root level. Always-on docs live in canon/."
    • changedInput schema / properties / search / description
      Previous value: -"Optional search term to filter files by name"New value: +"Optional name-only filter (filename/slug). Does not search file bodies — use read_knowledge by slug for content."
  3. Changed1 schema field changed
    • changedInput schema / properties / folder / description
      Previous value: -"Optional folder to list contents of (e.g., \"conduit-deal\", \"partners\"). Omit to list the root level."New value: +"Optional folder to list contents of (e.g., \"acme-deal\", \"partners\"). Omit to list the root level."
  4. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already mark this as read-only and non-destructive, and the description adds meaningful behavior: search matches names and folder-qualified slugs only, not body text; it walks nested folders; omitting search browses a single folder level; and canon/ contains always-on files with a size budget. No contradiction with the annotations.

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?

The description is dense but well-organized and front-loaded with the core purpose. Every sentence contributes useful guidance, though the parenthetical "names, slugs, sizes, folders" slightly overlaps with the already-stated "files and folders" and adds mild redundancy.

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?

With no output schema, the description compensates by naming the returned fields and by explaining folder behavior, search behavior, the special canon/ folder, and the next-step tool for reading bodies. An agent has what it needs to select and use the tool correctly.

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 100% and each parameter already has a solid description, so the baseline is 3. The tool description still adds value by clarifying interaction semantics: search walks nested folders, omitting search browses one level, and canon/ is the always-on folder. It doesn't just repeat the schema.

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?

The description opens with a specific verb and resource: "List knowledge files and folders for this company," and names the exact returned fields (names, slugs, sizes, folders). It also clearly distinguishes itself from read_knowledge by stating that it lists/disovers rather than reads bodies.

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?

It gives explicit guidance: use this when discovering what knowledge exists before reading a file, use search for name/slug filtering, omit search to browse one folder level, and use read_knowledge by slug to read body content. This provides both when-to-use and when-to-use-an-alternative.

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