Skip to main content
Glama

Algolia Productivity

Call Algolia Read Tool

algolia_call_read_tool
Read-only

Run one read-only Algolia operation. Use this after algolia_discover_tools, and usually after algolia_describe_tool, when the selected operation has effect read. Pass the operationName and arguments exactly as described. Returns that operation's result.

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": {
      "arguments": "<arguments>",
      "operationName": "<operationName>"
    },
    "name": "algolia_call_read_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
argumentsYesArguments for the Algolia operation
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.
operationNameYesName of the Algolia read operation to execute. Call algolia_discover_tools to find available operation names; call algolia_describe_tool to inspect a specific operation's input schema before calling it here.

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. Changed2 schema fields changed
    • addedInput schema / properties / originalQuery
      Added 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"
      +}
    • addedInput schema / properties / userIntent
      Added value: +{
      +  "description": "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.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds the useful constraint that operationName and arguments must be passed exactly as described by algolia_describe_tool. However, it says nothing about failure behavior for invalid operation names or about the shape of the returned result, which matters since there is no output schema.

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, front-loaded with what the tool does before the workflow prerequisites. No filler or restated title text.

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?

For a generic dispatcher with a free-form nested arguments object and no output schema, the description covers the essential contract: one read operation, parameters taken verbatim from the describe step, result returned as-is. The remaining gap is that it does not characterize error or empty-result behavior for a bad operationName.

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 description coverage is 100%, so the baseline is 3, and the description adds genuine meaning: operationName should be sourced from algolia_discover_tools and validated via algolia_describe_tool, and arguments are a pass-through matching that operation's own schema. It does not mention the optional userIntent parameter, leaving that entirely to the schema.

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 first sentence is a specific verb+resource statement: 'Run one read-only Algolia operation.' It also scopes it to a single operation with effect read, which separates it from algolia_discover_tools and algolia_describe_tool, both of which are named in the description.

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?

Explicit sequencing is given: use this after algolia_discover_tools and usually after algolia_describe_tool, only when the selected operation has effect read. The effect-read condition implicitly excludes write operations, so the agent knows both the trigger and the boundary.

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