Skip to main content
Glama

Nextcloud MCP Server and API by Cotlet

Search files in Nextcloud

nextcloud_search_files
Read-onlyIdempotent

Search files in the user's own Nextcloud account from ChatGPT, Claude or any AI agent. Returns how to do it in Nextcloud step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's Nextcloud Cloud Browser. Nextcloud's official API: Yes.

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": "nextcloud_search_files"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds genuinely non-obvious behavior beyond that: the tool returns a walkthrough (screens, buttons, fields) and performs no UI action, and the real work must be delegated to browser tools — exactly the kind of context annotations cannot express.

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 core mechanics are stated up front, but the trailing fragments ('Nextcloud's official API: Yes.') are filler that adds no decision-relevant information, and the sentence mixes purpose, return behavior, and next-step routing in one breath.

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

Completeness4/5

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

For a parameterless guidance tool with no output schema, the description covers what is returned (step-by-step screens, buttons, fields), that nothing is executed, and which tools carry out the action. Adequate; only the no-input constraint is left implicit.

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?

With zero parameters the baseline is 4, and the schema (empty object, additionalProperties false) confirms it. The description could be stronger by explicitly stating that no search query is accepted, since the name 'search_files' invites the opposite assumption.

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?

Names a specific verb+resource (search files in the user's Nextcloud account) and immediately clarifies the actual mechanic: it returns step-by-step how-to content rather than executing the search. That clarification is what separates it from the cotlet_browser_* action siblings, though the opening phrase 'Search files' still reads as if the tool performs the search itself, creating a slight mismatch with 'opens nothing by itself'.

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?

It does route the agent forward ('then do it with the cotlet_browser_* tools in the user's Nextcloud Cloud Browser'), which is real usage guidance. But it never says when not to use it, and with zero parameters it doesn't warn that no query/filter can be supplied, so an agent may try to pass search terms that have nowhere to go.

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