Skip to main content
Glama

List rag documents

list_rag_documents
Read-only

List documents in the studio's knowledge base.

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

Input Schema

NameRequiredDescriptionDefault
source_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/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 by structured data. The description adds only the phrase "studio's knowledge base" and says nothing about pagination, result limits, ordering, or what a document record contains — all of which matter for a listing tool with no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of filler, which is good. But here brevity comes from omission rather than economy — there is no second sentence carrying the parameter or scope information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple zero-required-parameter read tool with annotations covering safety, a short description is defensible, so the definition is not grossly inadequate. Still, the undocumented source_type parameter and the absence of any return or pagination context leave gaps that the structured fields do not fill.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single parameter source_type, and the description never mentions it. The name hints at filtering by origin, but neither schema nor description states accepted values or whether it is optional in practice (required count is 0), so the agent has to guess.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a clear verb and resource ("List documents") scoped to "the studio's knowledge base," which is more than a tautology. However, it does not distinguish this tool from plausible siblings such as list_documents or rag_search, so an agent cannot tell from the description alone which listing endpoint to pick.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no named alternative. With rag_search, rag_answer, rag_index_text and list_documents in the catalog, the description should say whether this is a plain enumeration versus a semantic search entry point, but it says nothing.

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