Skip to main content
Glama

Search files

search_files
Read-onlyIdempotent

Search files and folders by name across the buckets this key can reach, with optional filters. Encrypted items never match.

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_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoWords of the name
kindNo
sortNo
limitNoItems per page, 1 to 100 (25 when omitted)
orderNo
cursorNonextCursor of the previous page, to read the next one
prefixNoOnly inside this folder path
bucketIdNoOnly this bucket
labelIdsNoLabel ids from list_labels
extensionNoExtensions such as "pdf"
modifiedToNoModified on or before, an ISO 8601 date
modifiedFromNoModified on or after, an ISO 8601 date

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the bar is lower, yet the description adds two genuinely useful facts beyond them: results are limited to buckets the key can reach (an authorization boundary) and 'Encrypted items never match' (silent exclusion of results). It does not explain pagination behaviour, though the cursor parameter implies it.

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 sentences, zero filler, with scope and the encrypted-items caveat front-loaded. Every clause carries information an agent needs.

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 12-parameter tool with no required inputs and no output schema, the description is adequate but thin: it does not describe the response shape or paging flow, nor what an unfiltered call returns. The encrypted-item exclusion is a good touch but does not close those gaps.

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?

With 12 parameters and 75% schema description coverage, the schema already documents most inputs including ranges and formats. The description adds only the high-level framing that matching is by name and filtering is optional, without clarifying defaults such as sort order, limit, or whether q is required.

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 gives a specific verb and resource ('Search files and folders by name') plus the scope 'across the buckets this key can reach', which lets an agent distinguish it from path-scoped siblings like list_folder or get_file. It stops short of naming an alternative tool, so it is clear but not fully differentiated.

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

Usage Guidelines3/5

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

'with optional filters' implies a filtered-listing use case, and the cross-bucket scope hints at when search beats a folder listing. But there is no explicit when-to-use/when-not guidance, no mention of preferring list_folder or list_trash for enumeration, and no note on what happens when zero filters are supplied.

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