Skip to main content
Glama

get knowledge

get_knowledge
Read-onlyIdempotent

Read a source before correcting it. Content is paginated in 12000-character pages.

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": {
      "chatbot_id": "<chatbot_id>",
      "source_type": "<source_type>",
      "source_id": "<source_id>"
    },
    "name": "get_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
source_idYes
chatbot_idYesSelected chatbot ID or demo token.
source_typeYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description contributes one useful trait beyond that: content is chunked into 12000-character pages. It says nothing about total page count, truncation, or what happens past page 10000 (the schema maximum), so the paging behavior is only partially disclosed.

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?

Two compact sentences with the workflow cue first and the pagination fact second; nothing is wasted. It is arguably under-sized rather than bloated, but the structure is front-loaded and readable.

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?

An output schema exists, so return values need not be described, and the tool is a simple read with 4 parameters. Still, given the 25% schema coverage, an agent lacks guidance on source_type/source_id semantics and on how to page through more than one chunk, leaving the definition only minimally complete.

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 25% (only chatbot_id is documented), so the description must compensate. It gives real meaning to the page parameter via the 12000-character page size, but source_id and source_type are left entirely to the schema, and how source_type values (text/qa/url/file) affect the returned content is unstated.

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 verb 'read' is clear but the resource is only 'a source', which never states that it retrieves the knowledge source of a specific chatbot or that it returns the source's content. It does not distinguish itself from get_knowledge_summary, list_knowledge, or search_knowledge, which an agent could easily confuse with this read operation.

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?

'Read a source before correcting it' implies a workflow (inspect prior to update_knowledge), which is a genuine when-to-use hint. However, it names no alternative and gives no exclusion criteria, so the agent must infer that list_knowledge or get_knowledge_summary are the wrong tools for retrieving one source's body text.

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