Skip to main content
Glama

Share a folder

folders_share
DestructiveIdempotent

Share one of the user's private folders, as its ⋮ Share in Humble does. It can't be undone: it makes a new shared folder of the same name, moves into it the folder's notes and tasks that the user owns or is an admin of, and shares it with share_with, each one of the user's contacts (by contact_uuid or email) or groups (by group) at one of a shared folder's roles. Contacts, and notes and tasks only shared with the user, stay in the private folder, which goes once nothing stays. Call it first without confirm: nothing changes, and the answer says what would move and stay. Show the user that and ask. Only once they agree, call again with confirm true: it returns the new shared folder as folders_get does. To add people to a shared folder there already is, use sharing_add.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "folder": "<folder>",
      "share_with": "<share_with>"
    },
    "name": "folders_share"
  }
}

Input Schema

NameRequiredDescriptionDefault
folderYesThe private folder's name, as folders_list returns it
confirmNotrue shares it, once the user has agreed to what the answer without it said
share_withYesWho to share it with, each one of the user's contacts or groups, at a role

Output Schema

NameRequiredDescriptionDefault
urlNoOpens a shared folder in Humble
roleNoThe user's role in a shared folder
uuidNoA shared folder's
movesNoThe notes and tasks that would move into the shared folder
notesNo
ownerNoWho made a shared folder: always an admin of it
staysYesWhat stays, or would stay, in the private folder
tasksNo
colourNomanila is a folder's own until another is picked
folderYesIts name, as the user typed it
can_addNoWhether the user may add notes and tasks to a shared folder
messageNo
contactsNo
confirmedYesfalse: nothing changed yet, the answer says what sharing would do
can_manageNoWhether the user may rename or recolour a shared folder, take others' things out of it and change who it's shared with: its admins
share_withNoBefore `confirm`: who it would be shared with
notes_totalNo
shared_withNoWho else may open it, besides its owner, as its Share tab in Humble lists them
tasks_totalNo
contacts_totalNo
folder_deletedYesWhether the private folder goes, or would, as nothing stays in it

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say destructive/not-readonly/idempotent; the description goes further by stating it can't be undone, exactly what moves (owned/admin notes and tasks), what stays (contacts, notes and tasks only shared with the user), and that the emptied private folder disappears. It also discloses the dry-run behaviour and that the confirmed call returns the folder as folders_get does, without contradicting any annotation.

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 with purpose and irreversibility, then mechanics, then the call protocol and the alternative tool; nothing is filler. It is dense—long nested clauses and the "⋮ Share in Humble" aside add length—but each sentence carries actionable content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, multi-step mutation tool with a nested share list, the definition covers prerequisites, side effects, the preview path, the return shape (via folders_get reference, and an output schema exists), and the sibling for adding people later. Nothing an agent needs to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already documents `folder`, `confirm`, and the `share_with` item fields including role values. The description still adds the operational meaning of `confirm` (a two-step preview-then-commit contract) and clarifies that each `share_with` entry is a contact by uuid or email, or a group by name, at a role.

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?

"Share one of the user's private folders" names a specific verb and resource, and the closing line routes the sibling case ("To add people to a shared folder there already is, use sharing_add") so the agent can distinguish it from sharing_add without opening a schema.

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

Usage Guidelines5/5

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

Gives an explicit two-call protocol: first without `confirm` to preview, show the user, ask, then call again with `confirm` true. It also names the alternative tool for the adjacent task, so both when-to-use and when-not-to-use are covered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources