Skip to main content
Glama

search_knowledge

Read-onlyIdempotent

Searches customer support documents by keyword and returns source IDs with line ranges so replies can cite verifiable passages.

Instructions

Search customer support documents using keywords; return source IDs and line ranges.

Use concrete topic words in Chinese or English. Empty matches mean this search found no matching text, not that the requested service or policy does not exist. Always read relevant source passages before drawing a conclusion.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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, closed-world, so the safety profile is covered. The description adds genuinely non-obvious behavior: what empty results mean and that passages must be read before concluding. It omits ranking or pagination behavior, but with limit capped at 20 the search surface is small.

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?

Four short sentences, purpose front-loaded, then query guidance, then two caveats about interpretation. No filler or repetition.

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?

An output schema exists, so return values need not be explained, and the description still summarizes them briefly. The main residual gap is the undocumented limit parameter, which could cause an agent to under-retrieve on broad topics.

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 0%, so the description carries the burden. It clarifies the query parameter well (concrete topic words, Chinese or English acceptable) but never mentions 'limit' or what its default of 5 means for recall.

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 ('Search customer support documents using keywords') plus a return shape ('source IDs and line ranges'). It does not name the sibling read_source, but the closing instruction to 'read relevant source passages' implicitly points to the follow-up tool.

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 concrete query-formulation advice ('concrete topic words in Chinese or English') and an explicit interpretation rule for empty results, which is exactly the failure mode an agent would misread as 'service does not exist'. It stops short of naming read_source as the alternative step, leaving the handoff implied rather than explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools