Skip to main content
Glama

searchidx_optimize

Optimize search relevance for your project directory. Identify and fix search ranking issues to improve result accuracy.

Instructions

Optimize search relevance (Pro feature)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNo
directoryYesProject directory
Behavior2/5

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

Because no annotations are present, the description must carry behavioral disclosure, but 'Optimize search relevance' only implies a mutating operation. It says nothing about side effects, reversibility, required permissions, API-key usage, or whether it changes project files or a remote service.

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?

The line is short and front-loaded with the action and target, and the parenthetical 'Pro feature' is not redundant. However, it is underspecified rather than merely concise, so it earns only a mid score for structure.

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?

This is a mutation-style tool with no annotations, no output schema, and partially undocumented parameters, so more context is needed. An agent cannot tell what operation will be performed, why api_key matters, or what the result of 'optimize' will be.

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

Parameters2/5

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

Schema description coverage is 50%: only 'directory' is described, while 'api_key' has no schema documentation. The tool description adds no parameter-level meaning and does not compensate for the undocumented api_key parameter.

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?

The phrase 'Optimize search relevance' gives a clear action and target, and 'Pro feature' signals the feature tier. It is distinct enough from siblings like searchidx_setup and searchidx_add_autocomplete at a high level, though it does not specify what 'optimize' changes concretely.

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 or comparison to alternatives. 'Pro feature' implies an entitlement prerequisite, but the description does not say when to choose this over search_optimize_queries or other optimizer siblings, nor what conditions call for it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/barnburner121/claude-plugin-marketplace'

If you have feedback or need assistance with the MCP directory API, please join our Discord server