Skip to main content
Glama

list_shared_items

Read-onlyIdempotent

List files, media, polls, locations, pinned messages, and other items shared in a Nextcloud conversation, optionally filtered by item type.

Instructions

List what was shared in a conversation: files, media, polls, locations, pinned messages and more.

Args: token: The conversation token. item_type: One type to list: audio, deckcard, file, location, media, other, pinned, poll, recording or voice. Empty (default) gives the latest few of every type. limit: Maximum items (per type without item_type: 1-20, default 20; with item_type: 1-200).

Returns: JSON object mapping each type to its items, each the chat message that shared it ("[id] author: text"), in Talk's order (newest first; pinned messages by when they were pinned).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
tokenYes
item_typeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds real context beyond that: the newest-first ordering and the special pinned-message ordering (by pin time), plus the JSON shape keyed by type. It omits any auth/permission notes, keeping it just short of a 5.

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?

Front-loaded purpose sentence, then organized Args and Returns blocks with zero filler. The item_type enumeration is long but necessary given the schema has no enums. Slightly list-heavy, but every line earns its place.

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?

All three parameters are documented and the return format is described despite an output schema existing, so an agent has everything needed to call it correctly. Ordering semantics and defaults round it out; only cross-tool selection guidance is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry the parameters, and it does so completely: token, the full enum for item_type, and the differing limit ranges (1-20 across all types, 1-200 for a single type) with the 20 default. This is exactly the compensation a 0%-coverage schema requires.

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 uses a specific verb ('List') plus the exact resource ('what was shared in a conversation') and enumerates the item types, making it clearly distinguishable from siblings like get_messages or search_files. An agent can tell what this returns without opening the schema.

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?

It explains the parameter-triggered behaviors ('Empty (default) gives the latest few of every type') which is useful usage guidance. However, it never states when to prefer this tool over alternatives such as get_messages or search_files, and offers no explicit exclusions.

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

Deploy Server

Other Tools