Skip to main content
Glama
axross-headless-mcp

axross-headless-mcp

Search the file index

search_index
Read-onlyIdempotent

Find files and folders by name, extension, or size in an offline metadata index; use it for read-only lookups across folders indexed earlier.

Instructions

Find files and folders by name, extension and size in the offline metadata index. Use when: looking up names fast across folders indexed before. Instead: walk_tree for the live tree (slower, never stale); search_content for contents. Requires: an index from build_index or the axross app. Behavior: read-only; results can be stale. Searches only the rows of backend (the default backend if omitted). The given filters must all match; none gives every indexed entry. Pages with offset and max_results. Time limit: 15 s. Returns: {entries: [{backend_id, path, name, size, is_dir, modified}], indexed (false: no index yet - no entries may mean that), truncated (more after this page)}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
extNoFile extension, matched whole in any case; a leading dot is ignored, e.g. 'pdf'.
pathNoOnly entries anywhere below this folder (absolute, or relative to the MCP root).
offsetNoMatches to skip, for the next page: the previous offset + max_results.
backendNoBackend id from list_backends; omit for the default.
patternNoA substring of the file name (not a regex), matched ignoring case and Unicode normalisation, e.g. 'report' finds 'Q3_Report.pdf'.
max_sizeNoLargest size in bytes, inclusive; omit for no upper bound. Below min_size nothing matches.
min_sizeNoSmallest size in bytes, inclusive.
path_b64Nopath as base64 of its raw bytes, for non-UTF-8 names; replaces path.
max_resultsNoMost results to return.

Output Schema

NameRequiredDescriptionDefault
entriesYes
indexedYesfalse: this backend has no index rows at all
truncatedYestrue: more matches after this page (offset + max_results)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.181

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and destructive=false, yet the description adds real behavioral context: results can be stale, only the selected backend's rows are searched, filters combine conjunctively, no filters returns everything, a 15 s time limit, and an 'indexed' flag warning that an empty result may mean no index exists. The only minor gap is any detail about error conditions when a backend id is invalid.

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?

Front-loaded with purpose, then labeled Use when / Instead / Requires / Behavior / Returns sections; every clause carries information (prerequisites, staleness, paging, truncation) with no filler.

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

Completeness5/5

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

For a nine-parameter search tool with an output schema, the description still supplies what the agent needs to call it correctly and interpret results: precondition of a built index, staleness, AND-combination of filters, paging, and the meaning of 'indexed' and 'truncated'.

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

Parameters4/5

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

Schema coverage is 100%, so the documented baseline applies, but the description contributes cross-parameter meaning the schema cannot express: all supplied filters must match, omitting them returns every indexed entry, and offset is defined as previous offset + max_results for paging. That is genuine added semantics rather than restatement.

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 and resource ('Find files and folders by name, extension and size in the offline metadata index') and immediately scopes it as the offline index rather than the live tree, which separates it from walk_tree and search_content without needing to open either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit 'Use when' clause plus an 'Instead' clause naming two alternatives and the tradeoff that selects them (walk_tree is slower but never stale; search_content matches contents). It also states the prerequisite index from build_index or the axross app.

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