Skip to main content
Glama

List agent knowledge sources

list_agent_knowledge
Read-onlyIdempotent

List agent knowledge sources

Returns every knowledge source attached to one voice agent, newest first. These are the documents the agent may draw on when answering, added either as a crawled web page or as literal text. The response is a plain list with no paging. Entries belong to the account that owns the agent, so a reseller key that reads a customer agent sees the same entries as the customer.

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_agent_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentIdYesIdentifier of the voice agent. Accepted either as the public form `agent_12` or as the bare number `12`; the prefix is stripped before the lookup.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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, so the bar is lower; the description still adds real value by disclosing ordering ('newest first'), the absence of paging, and the tenancy semantics for reseller keys reading customer agents. What it omits is anything about result size or rate limits, which for an unpaged list would be genuinely useful.

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?

Four short sentences, front-loaded with the action and scope, followed by content type, response shape, and tenancy. The opening line restates the title verbatim, which is a small piece of wasted space, but nothing else is padded.

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?

There is no output schema, so the description compensates by describing the return as a plain unpaged list ordered newest first, with entries tied to the owning account. Combined with full schema coverage and rich annotations, an agent has what it needs to select and invoke the tool; only guidance versus the sibling listing tools 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?

Schema description coverage is 100% and the agentId description already documents both the `agent_12` and bare `12` forms plus prefix stripping, so the description adds no parameter-level meaning beyond it. Baseline 3 applies when 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 states a specific verb and resource ('List agent knowledge sources') and clarifies the scope as sources attached to one voice agent, including what kinds of entries they are (crawled web page or literal text). It does not explicitly distinguish itself from close siblings such as list_agent_knowledge_crawls or list_agent_knowledge_sync, so an agent must infer that this is the superset listing.

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?

Usage is implied by the scoping statement ('attached to one voice agent') and by the note that the response is unpaged, which tells an agent this is the cheap full-listing call. There is no explicit when-to-use or when-not-to-use guidance relative to the crawl/sync listing siblings, which is the main ambiguity for this tool family.

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.