unified_search
Search across all Nextcloud apps (files, calendar, contacts, mail, notes, etc.) using Unified Search. Optionally filter by a specific provider ID. Without a provider, searches the top providers in parallel.
This record as markdown: /tools/aiquila-nextcloud-mcp-server/unified-search.md
What unified_search does on AIquila — Nextcloud MCP Server
AI agents call unified_search to retrieve information from AIquila — Nextcloud MCP Server without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | number | — | Maximum results per provider (default: 5) |
query | string | Yes | The search query |
cursor | string | — | Pagination cursor returned from a previous search |
provider | string | — | Search a specific provider by ID (e.g. "files", "calendar", "contacts"). Omit to search across all providers. |
Parameters from the server's own tool schema.
Why unified_search is rated Low
This tool retrieves and queries data from Nextcloud's unified search system without side effects. It returns search results across multiple apps but does not create, modify, delete, or execute any actions. The blast radius of misuse is limited to information disclosure; an agent could search for sensitive data but cannot alter or delete it. This is a canonical Read operation with low severity.
From the tool's definition Tool description states it 'Search[es] across all Nextcloud apps' with optional filtering. The verb 'search' and the absence of any language indicating modification, deletion, or execution (create, update, delete, execute, run) clearly indicate a read-only…
Attacks that exploit this kind of access
The rule that runs unified_search safely
PolicyLayer is an MCP gateway: it sits between your AI agents and AIquila — Nextcloud MCP Server, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For unified_search, this is the rule to start with:
unified_search is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect AIquila — Nextcloud MCP Server, apply this rule, and every unified_search call is checked against it from then on.
Questions about unified_search
Search across all Nextcloud apps (files, calendar, contacts, mail, notes, etc.) using Unified Search. Optionally filter by a specific provider ID. Without a provider, searches the top providers in parallel. It is categorised as a Read tool in the AIquila — Nextcloud MCP Server MCP Server, which means it retrieves data without modifying state.
unified_search accepts 4 parameters: limit, query, cursor, provider. Required: query. The full parameter table on this page comes from the server's own tool schema.
Register the AIquila — Nextcloud MCP Server MCP server in PolicyLayer and add a rule for unified_search: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches AIquila — Nextcloud MCP Server. Nothing to install.
unified_search is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the unified_search rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for unified_search. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
unified_search is provided by the AIquila — Nextcloud MCP Server MCP server (elgorro/aiquila). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on AIquila — Nextcloud MCP Server, and thousands of servers like it.
This server
Across the catalogue