Skip to main content
Glama
omgamy1179-dev

localgate

localgate_search

Search your locally indexed notes, PDFs, DOCX, code, chats, and OCR'd images using hybrid full-text and vector retrieval while all data stays on this machine.

Instructions

Hybrid (full-text + vector) search over the user's local indexed files: notes, PDFs, docx, source code, chat exports, OCR'd images. All data stays on this machine.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYessearch query
top_kNomax results (default from config)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does add genuinely useful non-obvious context — the retrieval is hybrid and all data stays local — but omits whether the call is read-only, what happens when nothing is indexed, latency/cost characteristics, and the shape of results.

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?

Two sentences, no filler, with the core action stated first and the corpus/privacy detail following. Every clause earns its place.

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

Completeness3/5

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

For a simple 2-parameter, no-output-schema search tool this is nearly adequate, but it never indicates what a result contains (paths, snippets, scores) or how results relate to the localgate_get_document follow-up, leaving a small but real gap.

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% for both parameters, so the baseline of 3 applies. The description adds no syntax, ranking, or defaulting detail beyond what 'query' and 'top_k' already state in the schema.

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 description gives a specific verb+resource ('Hybrid search over the user's local indexed files') and even names the retrieval mechanism (full-text + vector) and the corpus (notes, PDFs, docx, source code, chat exports, OCR'd images). It is clearly distinct from localgate_status and localgate_get_document without naming them, so it falls just short of the explicit sibling differentiation a 5 requires.

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 at all: nothing says to call this first and then retrieve full documents via localgate_get_document, nor whether localgate_status must be checked to confirm the index exists. The agent must infer routing from the sibling names alone.

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