Skip to main content
Glama
AHAAkash

Advanced MCP Platform

by AHAAkash

search_in_roots

Find matching files within tenant-granted workspace roots using a query and optional glob, returning bounded results while skipping symlinks.

Instructions

Search bounded, non-symlink files in tenant-granted workspace roots.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
globNo*.py
queryYes
max_hitsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations exist, so the description carries the full burden. It does disclose useful scoping traits ('bounded', 'non-symlink', 'tenant-granted roots'), but omits whether the operation is read-only, whether it is regex or substring matching, what happens at the default max_hits, or any permission/rate-limit context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler or redundancy. It is efficiently structured; the problem is under-specification, not verbosity.

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?

An output schema exists so return values need not be described, but with no annotations and 0% schema coverage the description leaves the agent without the matching semantics, default behavior, or result-limit behavior needed to call the tool correctly.

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% and the description says nothing about the three parameters. The required 'query' is unexplained (content vs filename), the 'glob' default of *.py is never mentioned, and 'max_hits' is not addressed, so the description adds almost no meaning beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (search) and resource scope (files in tenant-granted workspace roots), which is more than a tautology. However, it never says whether the search matches file contents, filenames, or globs, so the agent cannot tell what the query is actually run against, nor how this differs from list_root_files or review_file.

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, no exclusions, and no named alternative, even though siblings like list_root_files and read_root_file plausibly overlap. The agent must infer the use case entirely from the tool name and the word 'search'.

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