Skip to main content
Glama
knowledge-mcp

knowledge-mcp

by bmdy6

search

Read-onlyIdempotent

Find keyword matches across a Markdown knowledge vault, returning file paths, line numbers, and snippets for quick lookup within a chosen scope.

Instructions

Return matches; a final warning record marks skipped, invalid notes.

Match records have path/line/snippet fields. A diagnostic record instead has warning, partial=true and skipped (relative paths and error codes).

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
scopeYes
include_archiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.2/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 covered. The description does add genuine behavioral context beyond that: partial results are possible and invalid/skipped notes are reported via a final diagnostic record with warning, partial=true, and skipped fields. However, it says nothing about query semantics or how scope constrains results.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences with no filler, but the emphasis is misallocated: it front-loads return-record structure rather than purpose or parameter meaning. It is concise but not structured around what the invoking agent most needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With four parameters at 0% schema description coverage and an output schema already present, the description should explain scope/query/limit/include_archive instead of detailing return fields. As written, it leaves the invocation-critical semantics undocumented while duplicating output-schema information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters, so the description must compensate and it does not. Required parameters scope and query, plus limit and include_archive, receive no explanation of accepted values, syntax, or effect on results.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Return matches" essentially restates the tool name without naming the resource being searched or the scope. It does not distinguish this from siblings like read, read_range, or list_documents, so an agent cannot tell what domain 'search' operates on.

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 when-to-use guidance, no conditions selecting this over read/list_documents, and no prerequisites mentioned. The description is purely about output record shapes, leaving invocation context entirely absent.

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