Skip to main content
Glama
el95149

Baloosearch MCP Server

by el95149

search_files

Search for files and content across your system using advanced query syntax, filtering by file type, properties, and directories.

Instructions

Search for terms in files using KDE baloosearch.

Query Syntax Examples:

  • Simple search: "project plan"

  • Multiple terms: "budget AND marketing" (finds files with both terms)

  • OR search: "report OR presentation" (finds files with either term)

  • Phrase search: ""strategic plan"" (finds exact phrase)

  • Exclusion: "financial -tax" (finds files with "financial" but not "tax")

  • Wildcard: "report*" (finds files with words starting with "report")

  • Property search: "Artist:"Coldplay"" (finds audio files by artist)

  • File type search: "type:Audio" (finds audio files)

  • Combined expressions: "(type:Audio AND Artist:"Coldplay") OR (type:Document AND subject:"music")"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesThe search query terms. Supports advanced search syntax: - Basic search: Simple terms like "project plan" - AND queries: "budget AND marketing" (requires both terms) - OR queries: "report OR presentation" (requires either term) - NOT queries: "financial -tax" or "financial NOT tax" (excludes terms) - Phrase searches: "\"exact phrase\"" (matches exact phrases) - Wildcards: "report*" (matches partial words) - Property searches: "Artist:\"Coldplay\"" or "Author:\"Smith\"" - File type filters: "type:Audio", "type:Document", "type:Image", etc. - Grouping: Use parentheses "(term1 AND term2) OR term3" - Property comparisons: "rating>3", "modified>2024-01-01" Supported file types: - "Archive" (zip, tar, etc.) - "Folder" (directories) - "Audio" (mp3, wav, etc.) - "Video" (mp4, avi, etc.) - "Image" (jpg, png, etc.) - "Document" (pdf, doc, etc.) - "Spreadsheet" (xls, xlsx, etc.) - "Presentation" (ppt, pptx, etc.) - "Text" (txt, etc.) Common properties for all files: - filename (name of the file) - modified (last modification date) - mimetype (MIME type of file) - tags (user-defined tags) - rating (numeric rating 0-10) - userComment (user comments) Audio-specific properties: - Artist, Album, AlbumArtist, Composer, Lyricist - Genre, Duration, BitRate, Channels, SampleRate - TrackNumber, ReleaseYear, Comment Document-specific properties: - Author, Title, Subject, Keywords - PageCount, WordCount, LineCount - Language, Copyright, Publisher - CreationDate, Generator Media-specific properties (Video/Images): - Width, Height, AspectRatio, FrameRate Image-specific properties: - ImageMake, ImageModel, ImageDateTime - PhotoFlash, PhotoFNumber, PhotoISOSpeedRatings - PhotoGpsLatitude, PhotoGpsLongitude, PhotoGpsAltitude
limitNoMaximum number of results to return (default: 10)
offsetNoOffset from which to start the search (default: 0)
directoryNoLimit search to specified directory (absolute path)
typeNoType of data to be searched. Common types include: - "Archive" (zip, tar, etc.) - "Folder" (directories) - "Audio" (mp3, wav, etc.) - "Video" (mp4, avi, etc.) - "Image" (jpg, png, etc.) - "Document" (pdf, doc, etc.) - "Spreadsheet" (xls, xlsx, etc.) - "Presentation" (ppt, pptx, etc.) - "Text" (txt, etc.) Note: This parameter is an alternative to using "type:" in the query.
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. While it explains the query syntax extensively, it doesn't address key behavioral aspects: whether this is a read-only operation, what permissions are required, how results are returned (format, pagination), error conditions, or performance characteristics. The description focuses on syntax but misses operational context.

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 description is front-loaded with the core purpose, but then becomes a lengthy syntax reference. While the syntax examples are helpful, they might be better placed in parameter documentation. The description could be more concise by focusing on high-level guidance rather than duplicating detailed syntax that's already in the schema.

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 search tool with 5 parameters, 100% schema coverage, and no output schema, the description provides adequate context about what the tool does and how to structure queries. However, it lacks information about result format, error handling, and operational constraints. The completeness is minimally adequate but has clear gaps in behavioral transparency.

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?

The schema description coverage is 100%, so the schema already documents all 5 parameters thoroughly. The description adds query syntax examples that complement the schema's query parameter documentation, but doesn't provide additional semantic context for the other parameters (limit, offset, directory, type). The baseline is 3 when schema coverage is high.

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 clearly states the tool's purpose: 'Search for terms in files using KDE baloosearch.' It specifies the verb ('search'), resource ('files'), and technology ('KDE baloosearch'). However, it doesn't explicitly differentiate from the sibling tool 'show_file_words', which might have overlapping functionality.

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?

The description provides no guidance on when to use this tool versus alternatives. It mentions the sibling tool 'show_file_words' in the context, but doesn't explain how they differ or when to choose one over the other. There's no mention of prerequisites, limitations, or typical use cases.

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/el95149/baloosearch-mcp'

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