Skip to main content
Glama
megamaced

collectives-mcp

by megamaced

create_page_share

Create a public share link for a single page within a collective, returning a share token to build the URL. Specify collective ID and page ID.

Instructions

Create a public share link for a single page rather than the whole Collective. Returns the share token; build the URL as {nextcloud}/apps/collectives/p/{token}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageIdYes
passwordNoOptional password required to open the link. Never echoed back.
collectiveIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.1

TDQS

A4.2/5.0
Behavior4/5

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

The description discloses the creation side effect, public nature, and returned token/URL. Annotations already indicate non-idempotent and non-destructive, so the description adds useful context without needing to restate those flags.

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, focused sentence that front-loads the action and includes key return information without unnecessary fluff.

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?

It covers the core purpose, return value, and URL construction. It does not mention related share management operations, but for a simple create action the essential context is present.

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?

The password parameter has a helpful schema description, but collectiveId and pageId are not elaborated in either schema or description. Their names are somewhat self-explanatory in context, but the low schema coverage is not fully compensated.

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 creates a public share link for a single page, distinguishes it from a whole-Collective share, and explains the return value and URL format.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly contrasts with sharing a whole Collective, implying when to use this tool versus a collective-level share. It could more directly name sibling tools like create_collective_share, but the primary usage context is clear.

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