Skip to main content
Glama
Nextcloud MCP Server

Nextcloud MCP Server

by a-lagutov

recent_files

Find files modified within a chosen number of days, sorted by modification date descending, with optional result limits and recursive folder scoping.

Instructions

Files modified recently, newest first (server-side search by modification date)

Input Schema

NameRequiredDescriptionDefault
daysNoLook back this many days (default 7)
limitNoMax results (default 30)
folderNoFolder to look in recursively/

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It discloses useful traits such as newest-first ordering and server-side date filtering, but it omits safety profile, pagination behavior, error cases, and whether results are filtered by permissions or folder existence.

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?

The description is a single, front-loaded sentence with zero waste. The parenthetical adds useful mechanism context without bloat, and every part of the statement earns its place.

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 simple three-parameter listing tool with full schema coverage and no output schema, the description covers the core concept but remains minimal. It does not describe return shape, edge cases, or how the recursive folder lookup behaves, leaving some gaps an agent might need.

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?

Schema description coverage is 100%, so the schema already documents all three parameters and their defaults. The description adds the overall scoping intent (recent modification) but does not provide any additional parameter-level detail beyond the schema.

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 clearly states the resource (files), the selection criterion (modified recently), and the ordering (newest first). It implies a server-side date search, but it does not explicitly distinguish itself from sibling tools like search_files or list_files.

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 explicit guidance on when to use this tool versus search_files, list_files, or other file-listing siblings. The phrase 'server-side search by modification date' hints at the mechanism but does not provide usage conditions or exclusions.

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