Skip to main content
Glama

get_kb_docs_bulk

Read-onlyIdempotent

Fetch many KB documents in one call (fan-out). Max 30 docIds. Default returns compact metadata + chunksPreview; set includeContent=true for full bodies.

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>",
      "docIds": "<docIds>"
    },
    "name": "get_kb_docs_bulk"
  }
}

Input Schema

NameRequiredDescriptionDefault
docIdsYesKB document IDs (1–30)
agentIdYesThe agent ID
includeContentNoInclude full chunks/content (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower. The description adds real value beyond them: the 30-docId cap and the default return shape (compact metadata + chunksPreview) with an opt-in for full bodies. It stops short of describing error behavior past the cap.

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 tight sentences with zero waste, front-loading the fan-out purpose, the cap, and the return-shape toggle in order of importance.

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?

With a read-only annotation set and no output schema, the description usefully compensates by describing the return shape (compact metadata + chunksPreview vs full bodies). Sufficient for an agent to call it correctly, with only edge-case error handling left unstated.

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%, so the schema already documents all three parameters. The description reinforces the 30-docId limit and clarifies includeContent's effect on return shape, but adds little beyond what the schema states.

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?

States a specific verb and resource (fetch KB documents) plus the distinguishing mechanism (many in one call / fan-out). It clearly implies bulk-vs-single against get_kb_doc, though it doesn't name the sibling or distinguish from list_kb_docs/search_kb_docs explicitly.

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?

Gives clear usage context: use for fetching many at once, and set includeContent=true when full bodies are needed versus the compact default. Lacks explicit when-not guidance or named alternatives (e.g., get_kb_doc for single fetches).

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