Skip to main content
Glama

Share folder contents

folder_share_contents
DestructiveIdempotent

Atomically make a workspace folder and all of its current child artifacts shared: folder is its id, or its slug with workspaceId; the workspace is the folder's own. Needs why. Refuses selections above the workspace bulk limit. expectedWorkspaceRevision is optional: send the folder's workspace revision to refuse (CONFLICT) if it changed since.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
whyNoRequired for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. At most 300 characters.
folderYesThe workspace folder: its id, or its slug with workspaceId.
workspaceIdNoWith a folder slug: the workspace it is in.
expectedWorkspaceRevisionNoOptional, a workspace folder's: refuse (CONFLICT) if the folder changed since this workspace_revision.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
folderYes
artifactIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses atomicity, the bulk-limit refusal, and the CONFLICT-on-revision-mismatch behavior with expectedWorkspaceRevision. Combined with idempotentHint and destructiveHint, the agent knows this is a state-changing, re-runnable operation with defined failure modes.

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 the action, and each clause (scope, params, why, bulk limit, revision guard) carries information. It is dense and semicolon-heavy but not padded; a slightly cleaner structure would push it higher.

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?

With an output schema and full annotations present, the description covers mutation semantics, preconditions, and one failure mode. The main residual gap is what 'shared' actually means (visibility scope), but the essentials for correct invocation are present.

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 baseline is 3, but the description adds cross-parameter meaning: folder is id or slug-with-workspaceId, the workspace is the folder's own, why is required, and expectedWorkspaceRevision is an optional conflict guard. This exceeds what the schema fields state individually.

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?

States a specific verb (make shared) and resource (a workspace folder plus all its current child artifacts), plus the atomic scope. This is clearly distinguishable from siblings like artifact_share_policy or folder_update, which act on individual artifacts or folder metadata.

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?

Conveys the operational context well: 'all of its current child artifacts' implies only existing children are covered, and 'Refuses selections above the workspace bulk limit' flags a use precondition. It does not explicitly route to an alternative tool, so it falls short of a 5.

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.