Skip to main content
Glama

Algolia Productivity

Search Algolia Knowledge

algolia_knowledge_search
Read-only

Answer a general question about Algolia from Algolia's official documentation and support articles. Returns passages, each with its source URL. Use this for questions about how Algolia works, what a parameter or concept means, plan and billing questions, error messages, and troubleshooting. This content is keyword-matched, not semantic: pass distilled search terms, not the user's sentence, and pass several variants so a vocabulary mismatch in one does not lose the 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": {
      "question": "<question>",
      "searchTerms": "<searchTerms>"
    },
    "name": "algolia_knowledge_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
questionYesThe user's question verbatim, one sentence, no greetings or backstory. Searched as written: these pages are titled as questions, so the user's own wording often matches a title that keywords miss.
maxResultsNoMaximum passages to return (default 3, max 5).
userIntentNoOne short sentence stating what the user wants to accomplish with this call, in your own words. Do not include the conversation, the user's message verbatim, or personal data.
searchTermsYesThe same question translated for a keyword engine: up to 5 short phrases built from words the page itself would use — the feature or parameter name, the symptom, the likely title. The index is lexical, not semantic, so a word the page never uses cannot match. Results are ranked by agreement across phrases, so vary them rather than repeating. e.g. ["virtual replica usage", "replica record count", "replica billing"]

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / originalQuery
      Removed value: -{
      -  "description": "The original, unmodified user prompt that was sent to the LLM. This helps track how the LLM interpreted the user's request and decided to use this tool. Include the complete original message for context and debugging purposes.",
      -  "type": "string"
      -}
    • changedInput schema / properties / userIntent / description
      Previous value: -"How the LLM interpreted the user's intention and decided to use available tools to achieve the result. Describe the user's goal and the reasoning behind choosing this tool (e.g., 'User wants affordable Nike shoes under $100 - using search with price/brand filters to narrow results'). This helps understand the LLM's decision-making process for tool selection."New value: +"One short sentence stating what the user wants to accomplish with this call, in your own words. Do not include the conversation, the user's message verbatim, or personal data."
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the read-only annotations, the description discloses that results are keyword-matched rather than semantic, ranked by agreement across search phrases, and returned as passages with source URLs. It also warns that vocabulary mismatch can lose answers, which is valuable behavioral context for invoking the tool correctly.

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?

The description is front-loaded with the purpose, then usage scope, then key search behavior. Every sentence adds usable information, with no filler or redundant preamble.

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

Completeness5/5

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

For a search tool with no output schema, the description explains what is returned (passages with source URLs) and how matching works. Combined with complete schema documentation and read-only annotations, it provides enough context for an agent to call the tool appropriately.

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

Parameters4/5

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

Schema coverage is 100%, so the parameter descriptions already carry much of the burden. The tool description adds useful search strategy beyond the schema: pass distilled terms rather than the user's sentence, and provide several variants to avoid lexical mismatch.

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 states a specific verb and resource: answer a general Algolia question using official documentation and support articles, returning passages with source URLs. It also scopes the tool to explanatory, billing, error, and troubleshooting questions, making it distinguishable from API-reading or tool-discovery siblings.

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?

It gives clear when-to-use guidance with concrete question categories such as how Algolia works, parameter meanings, billing, errors, and troubleshooting. It does not explicitly name alternatives or when-not-to-use cases, so it falls short of full routing guidance.

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