Skip to main content
Glama

Knowledge search

knowledge_search
Read-onlyIdempotent

Use for knowledge search of encyclopedic facts about a topic, person, place, company, coin or concept: top Wikipedia articles for q= with title, short description, lead-section extract. Returns the paid x402 request for your input (GET /knowledge/search, $0.001 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Encyclopedic facts from Wikipedia only; for recent headlines use news_latest. First call each day returns the data itself, free; later calls return the paid request.

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": {
      "q": "<q>"
    },
    "name": "knowledge_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYessearch query, 2..200 characters: a topic, name or question; the language edition is set by lang
langNoWikipedia language editionen
limitNonumber of articles

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / q / description
      Previous value: -"search query: a topic, name or question"New value: +"search query, 2..200 characters: a topic, name or question; the language edition is set by lang"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Well beyond the annotations, the description discloses the two-mode behavior (first call each day returns data free; later calls return a paid request), the price ($0.001 per call), and the fact that invalid input is rejected before any charge. The one gap is how the agent detects whether a given response is data or a payment request, but the cost and refusal semantics are unusually explicit. No contradiction with readOnlyHint/idempotentHint/destructiveHint.

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?

The purpose and the Wikipedia scope are front-loaded in the first clause, and the news_latest pointer follows directly. It is dense but nearly every clause carries operational meaning; the parenthetical '(GET /knowledge/search, $0.001 per call; schema linked)' is slightly compacted to the point of being hard to parse on first read.

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?

With no output schema, the description correctly supplies the return shape (title, short description, lead extract) and covers payment, free-call, and error-refusal behavior. What is left implicit is how the paid-request response differs structurally from the free data response, which matters for a tool whose output varies by day.

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 coverage is 100%, so q, lang, and limit are already documented in the schema, including the language-edition linkage and the 1..10 cap. The description only echoes 'for q=' and describes the article fields returned rather than adding constraint or formatting meaning. Baseline 3 is correct.

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

Purpose5/5

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

The description names a specific verb and resource ('knowledge search of encyclopedic facts') and enumerates what kinds of entities it covers (topic, person, place, company, coin, concept). It also states the underlying source ('top Wikipedia articles ... title, short description, lead-section extract'), so an agent can tell exactly what it gets versus a general web or news tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It gives an explicit use condition (encyclopedic facts) and an explicit exclusion with the alternative named ('for recent headlines use news_latest'). It adds the routing detail that the response is a paid x402 request to be executed (GET /knowledge/search) and that bad input is refused before charging, which is exactly the decision information an agent needs before calling.

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