Skip to main content
Glama
Markdown Knowledge MCP

Markdown Knowledge MCP

search_knowledge

Read-only

Search Markdown notes to find ranked excerpts with source paths, headings, and line ranges, helping you locate relevant sections and verify documented answers.

Instructions

Find Markdown excerpts with relative paths, headings, and source line ranges.

Search uses all distinct words in a query. Try short keyword phrases, and inspect multiple sources before drawing a conclusion. No matches is not an answer.

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

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds genuinely new behavioral facts beyond that: matching is conjunctive over all distinct query words, and a zero-result response should be treated as a signal to broaden rather than as a final answer. It stops short of describing result ordering/ranking or how `limit` interacts with multiple sources.

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?

Four short sentences, front-loaded with what the tool returns before the query advice, with no filler. The closing 'No matches is not an answer' is terse and actionable rather than redundant, though it partly overlaps with the preceding 'inspect multiple sources' instruction.

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 spelled out, and the description still summarizes them; combined with annotations this covers the essentials for a two-parameter read-only search. The remaining gap is behavioral detail on `limit` (cap semantics, per-source vs total) and result ordering, which an agent would still have to discover by calling it.

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 does explain the semantics of `query` (all distinct words are ANDed, prefer short keyword phrases), which is meaningful beyond the bare 'Query' string title. The `limit` parameter is never mentioned in the description, and its default of 5 and whether it caps excerpts per source or overall is left undocumented.

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 ('Find Markdown excerpts') and adds what each hit contains (relative paths, headings, source line ranges), which tells an agent exactly what it gets back. It does not explicitly contrast itself with siblings like read_section, but the 'search for excerpts' vs 'read a section' distinction is inferable from the phrasing.

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?

Gives query-strategy advice ('Try short keyword phrases') and a workflow norm ('inspect multiple sources before drawing a conclusion. No matches is not an answer'), which implies the follow-up pattern of widening or re-running the search. It never names an alternative tool or states a when-not-to-use condition, so routing between this and read_section is left to the agent.

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