Skip to main content
Glama

Read a knowledge document

dosai_read_knowledge_document
Read-onlyIdempotent

The text of one knowledge base document, piece by piece, exactly as the bot sees it.

Input Schema

NameRequiredDescriptionDefault
project_idYesProject id, as returned by dosai_list_projects.
document_idYesKnowledge base document id, as returned by dosai_list_knowledge.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, openWorld behavior, so safety is covered. The description adds genuine context with 'piece by piece' (suggesting chunked/paginated retrieval) and 'exactly as the bot sees it' (fidelity to retrieved content), but leaves pagination limits, chunk size, and error behavior unstated.

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?

A single tight sentence with no filler, and the core information (what is returned) is front-loaded. Nothing is wasted or redundant.

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 read-only tool with no output schema, the description states the return subject but is vague about return structure — 'piece by piece' hints at chunking without explaining how the pieces are delivered or whether pagination is involved. Annotations cover the safety profile, but the retrieval mechanics remain underspecified.

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 both parameters (project_id, document_id) are documented in the schema with their UUID format and upstream source tools. The description adds no parameter-level meaning, so the baseline 3 applies.

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 clearly identifies the resource and return value: the text of a single knowledge base document, described as the bot sees it. The implicit verb (read/fetch) comes from the title, and it does not explicitly distinguish itself from siblings like dosai_list_knowledge or dosai_search_knowledge, so it falls short of a 5.

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 explicit when-to-use guidance, no prerequisites, and no mention of alternatives such as dosai_search_knowledge (find a snippet) or dosai_list_knowledge (enumerate documents). The phrase 'one ... document' only loosely implies a single-document fetch.

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