Skip to main content
Glama
search-all-in-one

search-all-in-one

by bjk333

Local Knowledge Base Indexer

omni_index
Idempotent

Build or incrementally update a local multimodal SQLite FTS5 index for document, code, image, audio, video, and PDF metadata, enabling filtered local retrieval through omni_search.

Instructions

构建或增量更新本地多模态 SQLite FTS5 索引(文档/代码全文 + 图像/音视频/PDF 元数据),供 omni_search(domains=['local']) 毫秒检索。

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": {
      "paths": "<paths>"
    },
    "name": "omni_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYes待索引的本地目录或文件路径列表
resetNo是否清空重建索引
collectionNo集合命名空间(如 work/notes),供检索时 collection: 过滤default

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=false), so the description is not carrying that burden. It still adds real behavioral context beyond them: the storage engine/format (SQLite FTS5), the multimodal coverage of what gets indexed, and the fact that updates merge incrementally rather than rebuilding. It stops short of stating runtime cost for large corpora, filesystem permission needs, or that the `reset` flag effectively discards the existing index.

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?

A single compact sentence that front-loads the verb and resource, with parentheticals used to enumerate index content types. Every clause contributes - action, storage format, coverage, and consumer - though the dense Chinese phrasing with nested parentheses is slightly harder to parse than a two-clause split would be.

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 an output schema present, return values need not be explained, and 100% schema coverage carries the parameters. Given that, the description covers purpose, storage format, content coverage, and the downstream consumer adequately; only operational details such as indexing cost, permission requirements, and when to choose `reset` are absent.

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 100%, so all three parameters (paths, reset, collection) are already documented in the input schema, including the collection namespace convention. The description adds no parameter-level specifics of its own, which is the correct baseline 3 when the schema does the heavy lifting.

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?

States a specific verb pair ('构建或增量更新' - build or incrementally update) and a precisely scoped resource: a local multimodal SQLite FTS5 index covering document/code full text plus image/AV/PDF metadata. It also names the consuming sibling (omni_search with domains=['local']), so an agent can immediately tell this is the write-side indexer paired with that read-side search tool.

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?

The phrase '供 omni_search(domains=[...]) 毫秒检索' implies the usage context: run this to prepare or refresh the corpus that omni_search returns. However, there is no explicit when-to-use vs when-not, no guidance about preferring incremental over a reset rebuild, and no mention of sibling tools like omni_doctor (diagnostics) or omni_verify that an agent might pick instead when troubleshooting an index.

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