Skip to main content
Glama
v4t0r

Nextcloud ChatGPT Bridge

by v4t0r

Read Nextcloud text file

read_text_file
Read-only

Read bounded UTF-8 file content from a connected private Nextcloud workspace root, enforcing transfer limits and blocking access outside that root.

Instructions

Read bounded UTF-8 content from the user's connected private Nextcloud workspace root.

Enforces the transfer size limit and cannot fetch arbitrary URLs or files outside that root.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
sizeYes
contentYes
encodingNoutf-8

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.7/5.0
Behavior4/5

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

Goes meaningfully beyond the annotations (readOnlyHint=true, openWorldHint=false) by disclosing that content is bounded, that a transfer size limit is enforced, and that arbitrary URLs or files outside the root cannot be fetched. It does not say what happens on limit breach (truncation vs error), which is the remaining gap.

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?

Two short sentences with the core scope front-loaded and the constraint second. No filler, though the phrasing is slightly compressed at the cost of precision on limits.

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?

Annotations cover the safety profile and an output schema exists, so return values needn't be explained; the description covers scope, size limits, and root confinement. The only meaningful omission is the exact path format and the truncation-vs-error behavior at the size limit.

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 0% for the single required 'path' parameter, so the description must carry it; it only implies root-relative addressing without specifying format (leading slash, subdirectory syntax, encoding). Partial compensation, not full.

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?

States a specific verb and resource ('Read bounded UTF-8 content') scoped to the user's private Nextcloud workspace root. It implicitly differentiates from download_file_base64 by specifying UTF-8 text rather than binary, though it never names a sibling explicitly.

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?

Usage is only implied: an agent can infer this is for text files inside the workspace root, not for binary downloads or searches. There is no explicit when-to-use/when-not statement or pointer to download_file_base64 versus this tool.

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