Skip to main content
Glama

carrel_search

Search indexed desk files by full-text query and filter results by tags, file types, or metadata fields. Use after running the desk indexer to locate relevant local files.

Instructions

Full-text search the carrel desk index (.carrel/carrel.db) under a root directory. Requires a prior carrel index run.

Input Schema

NameRequiredDescriptionDefault
metaNoOnly files whose fields satisfy every condition (vendor=acme, total>1000, due<2026-11-01, paid?).
rootNoDesk root (default: server --root / cwd).
tagsNoOnly files carrying every one of these tags.
limitNoMax results.
queryYesFTS5 match query.
typesNoOnly these file types (e.g. ["pdf", "md"]).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations exist, so the description bears the full disclosure burden. It usefully discloses the prerequisite index run and the on-disk store, but says nothing about result ordering/relevance, pagination behavior beyond the schema's limit, or what a result entry looks like. For a read-only search this is adequate but not rich.

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 short sentences with zero filler; the operation comes first and the prerequisite second. Nothing could be removed without losing information.

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?

With no output schema and six parameters, the description should hint at the return shape or result structure, which it does not. Parameter coverage is fully handled by the schema and the prerequisite is covered, but the output side is left entirely to inference.

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 six parameters including the meta filter syntax and root default are already documented in the schema. The description adds no extra parameter meaning (e.g. how query interacts with meta/tags), so baseline 3 applies.

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?

States a specific verb and resource: 'Full-text search the carrel desk index (.carrel/carrel.db)'. It also locates the resource precisely, which separates it from carrel_index (which builds the index) even though no sibling is named outright.

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?

Provides a concrete prerequisite — 'Requires a prior `carrel index` run' — which is the main condition that determines whether calling this tool works. It gives no explicit exclusions or named alternatives among the 14 siblings (e.g. carrel_refs, carrel_meta), so it falls short of the top bar.

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