Skip to main content
Glama

search knowledge

search_knowledge
Read-onlyIdempotent

Retrieve trained evidence for a topic using the chatbot's actual retrieval. Matches are not proof of complete coverage; test answers too.

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>",
      "query": "<query>"
    },
    "name": "search_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
chatbot_idYesSelected chatbot ID or demo token.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint), so the bar is lower. The description does add real behavioral context beyond them: it explains that matches come from the bot's live retrieval pipeline and may be incomplete. It says nothing about result counts, limits, or ordering, and since an output schema exists the return shape is covered elsewhere.

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 sentences, both earning their place: the first defines the mechanism, the second warns about coverage limits. The key behavioral caveat is front-loaded with zero filler.

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?

For a read-only two-parameter search with an output schema and full annotation coverage, the description supplies the essential mechanism and the main caveat about incomplete coverage. Only the semantics of the query string and any result-size behavior are left unaddressed, which is a modest gap.

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%: chatbot_id is documented, but query has no description in the schema. The description hints that query is a topical phrase ("for a topic") but adds no syntax, length, or phrasing guidance (e.g., whether to pass a question or keywords) despite maxLength 2000. It does not compensate for the undocumented required parameter.

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?

Specific verb+resource: "Retrieve trained evidence for a topic using the chatbot's actual retrieval" tells the agent this returns knowledge-base matches through the same retrieval path the bot uses, which distinguishes it from plain listing/fetching tools like list_knowledge or get_knowledge. It does not explicitly name which sibling to pick instead, 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 Guidelines3/5

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

"Matches are not proof of complete coverage; test answers too" implicitly routes the agent to test_chatbot/diagnose_question for verification, which is useful implied guidance. However, it never states when to use this retrieval check versus list_knowledge, get_knowledge, or diagnose_question, so the selection logic is only inferable.

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