Skip to main content
Glama

Get KB document

get_kb_document
Read-onlyIdempotent

Get one knowledge base document including its content.

Input Schema

NameRequiredDescriptionDefault
fieldsNoOptional: return only these fields of each record.
document_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description's only added detail is that content is returned, which is thin but not misleading; it says nothing about permissions, error behavior, or missing-document handling.

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?

A single short sentence with no filler, and the resource is front-loaded right after the verb. It is efficient, though arguably under-specified rather than concisely complete.

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 read-by-id tool with rich annotations and no output schema, the description is minimally adequate, but it leaves the sole required parameter undocumented and does not reconcile 'including its content' with the optional fields projection.

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 coverage is only 50% — the required document_id has no description at all — so the description is expected to compensate, yet it never mentions document_id or the optional fields selector. Its phrase 'including its content' tangentially relates to the content field, but it does not clarify that fields can suppress content.

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 ('Get one knowledge base document'), and the singular 'one' implicitly distinguishes it from the sibling list_kb_documents. It is clear what the tool does, though it never explicitly names the list/create/update/delete siblings it must be chosen over.

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 statement of when to use this tool versus alternatives such as list_kb_documents or search_contacts, and no prerequisites or context are given. Usage is only inferable from the name itself.

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