Skip to main content
Glama

search

Read-only

Locates files, notes, cards, and events in a user's Nextcloud via a query, enabling AI assistants to retrieve relevant content across connected apps.

Instructions

Search the user's Nextcloud for files, notes, cards and events.

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": {
      "query": "<query>"
    },
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds only the set of content types searched; it says nothing about result limits, ranking or ordering, pagination, or whether results are truncated, which are the behaviors an agent actually needs for a search call.

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?

One short sentence with no filler and the scope front-loaded. It is efficient, though the brevity comes at the cost of the guidance and parameter detail noted elsewhere rather than being a model of density.

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. However, for a cross-domain search tool with an undocumented query parameter and four sibling search tools, the definition omits the routing guidance and query semantics an agent needs to invoke it 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?

There is a single required parameter, query, with 0% schema description coverage, so the schema contributes nothing. The description does not explain whether query is free text, supports operators, matches filenames versus content, or how multi-word input is treated, leaving the only parameter effectively undocumented.

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 (Search) and names the resource scope precisely: the user's Nextcloud, covering files, notes, cards and events. That is enough to know what the tool does, but it never distinguishes this from siblings such as unified_search, files_search or notes_search, so an agent cannot tell which entry point to pick.

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 at all: no statement of when this cross-domain search is preferable to the domain-specific siblings, no exclusions, and no prerequisites. The agent must infer the routing decision entirely from the tool name.

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