Skip to main content
Glama
v4t0r

Nextcloud ChatGPT Bridge

by v4t0r

Get Nextcloud file info

get_file_info
Read-only

Fetch metadata for a file or folder in Nextcloud by providing its path. Returns details like size, type, and modification date.

Instructions

Get metadata for one file or folder inside the configured Nextcloud root.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
etagNo
nameYes
pathYes
sizeNo
is_dirYes
content_typeNo
last_modifiedNo
Behavior3/5

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

Annotations already provide readOnlyHint=true, and the description's 'Get metadata' is consistent with a read operation. The description adds scope context ('inside the configured Nextcloud root') but does not disclose potential errors, path limitations, or other behavioral nuances. It neither contradicts annotations nor adds substantial extra transparency.

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, tightly worded sentence with no filler. It front-loads the core action and scope, making it easy to parse.

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 tool with one parameter and an output schema present, the description is functional but incomplete. It lacks parameter guidance and explicit usage advice, yet the output schema may compensate for return-value details. Overall, it is adequate but not thorough.

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?

Schema coverage is 0% for the 'path' parameter, and the description only names the parameter without explaining expected format (absolute vs. relative, file vs. folder, trailing slashes). The description does not compensate for the schema's lack of detail, leaving significant ambiguity about how to specify the path.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves metadata for a single file or folder within the Nextcloud root. It uses a specific verb ('Get') and resource ('file info'), and distinguishes itself from siblings like list_files (multiple items) and read_text_file (content) by focusing on metadata.

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?

The description implies use for individual file/folder metadata but does not explicitly state when to prefer it over alternatives (e.g., list_files for multiple items, download_file_base64 for content). No when-not-to-use guidance is provided, leaving the agent to infer from sibling names.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/v4t0r/nextcloud-chatgpt-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server