Skip to main content
Glama

start_search

Start asynchronous literal filename or UTF-8 content search; directory symlinks are not followed.

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": {
      "device_id": "<device_id>",
      "path": "<path>",
      "query": "<query>"
    },
    "name": "start_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoname
pathYes
queryYes
device_idYes
case_sensitiveNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), and the description adds genuinely non-obvious behavior: the search is asynchronous, matching is literal rather than regex, and directory symlinks are not traversed. The one gap is that it doesn't say what the start call returns (a search handle/id) or that searches must eventually be stopped.

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?

A single dense sentence with no filler; the operation type is front-loaded and the two caveats (literal, symlinks not followed) follow immediately.

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

Completeness2/5

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

For a 5-parameter, 0%-coverage, asynchronous session-creating tool with no output schema, the definition is too thin. It omits how results are obtained, whether the search persists until stopped, and the meaning of three required/common parameters.

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

Parameters2/5

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

Schema description coverage is 0% across five parameters, so the description must compensate — and it only partially does. It clarifies 'query' semantics (literal text, filename vs content) which implicitly maps to mode, but says nothing about device_id, path, case_sensitive, or the valid mode values.

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 ('Start asynchronous ... search') and disambiguates the two search flavours ('literal filename or UTF-8 content'). It stops short of naming a sibling to contrast with, so an agent must infer the boundary with list_searches/get_more_search_results.

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 guidance on when to use this versus alternatives, nor any indication that results must be retrieved via get_more_search_results and the session closed with close_search/stop_search. The word 'asynchronous' is the only hint that the call returns early.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources