Skip to main content
Glama

Share an Artifact

share_artifact
Idempotent

Set who can open an Artifact you own. audience picks the rule; share_with is the complete list of named people (it replaces the previous list; omit it to keep the current one). Going public deletes every comment thread, so a public change on an Artifact with threads is refused unless delete_threads is true. Returns the URL to send.

Input Schema

NameRequiredDescriptionDefault
listedNoShow it in listings (the company library, public discovery) rather than link-only. Default false.
audienceYesWho can open the link. owner: only you. users: the people in share_with. public: anyone with the link.
share_withNoPeople to grant access by email (or uid), with a role. [{ "email": "ana@acme.com", "role": "viewer" }]. viewer opens it; editor can also publish new content. Implies audience "users" when audience is omitted.
artifact_idYesThe Artifact id (art_…): the last part of its link, as in bisque.cloud/documents/art_…, /pages/art_… or /artifacts/art_….
delete_threadsNoAllow going public on an Artifact that has comment threads, deleting them.

Output Schema

NameRequiredDescriptionDefault
urlYes
grantsYes
artifact_idYes
audience_modeYes
discoverabilityYes
public_sharing_allowedNo
external_sharing_allowedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / artifact_id / description
      Previous value: -"The Artifact id (art_…)."New value: +"The Artifact id (art_…): the last part of its link, as in bisque.cloud/documents/art_…, /pages/art_… or /artifacts/art_…."
  2. Changed1 schema field changed
    • changedInput schema / properties / listed / description
      Previous value: -"Show it in listings (the org library, public discovery) rather than link-only. Default false."New value: +"Show it in listings (the company library, public discovery) rather than link-only. Default false."
  3. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, it discloses the side effect that going public deletes every comment thread, the guard behavior (request refused unless delete_threads is true), and the replacement semantics of the share list. It also notes the return value (the URL), which the annotations cannot convey. The thread deletion sits in mild tension with destructiveHint=false, but because the operation is refused by default rather than silently destructive, this reads as disclosed opt-in behavior rather than a contradiction.

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?

Four sentences, each carrying distinct load: purpose, list-replacement rule, destructive-change guard, return value. The most consequential caveat (thread deletion) is placed before the trivial return-value note.

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 present and full parameter documentation, the definition covers what an agent needs to call it safely, including the ownership precondition. The remaining gap is interaction between the listed flag and audience, and the ambiguity of supplying share_with alongside an explicit audience.

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, and the description genuinely adds semantics the schema does not: share_with is a complete replacement list and may be omitted to preserve the current one. It does not explain how listed interacts with audience, nor what happens if audience is passed with a share_with list, so it falls short of 5.

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?

"Set who can open an Artifact you own" gives a concrete verb plus resource and implicitly scopes itself to sharing rather than general editing. It stops short of naming the boundary against update_artifact, which also mutates artifact metadata, so an agent must still infer which one owns permission changes.

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 states the decision rule for audience, explains that share_with replaces rather than appends, and gives an explicit conditional for delete_threads (public change on a threaded artifact is refused unless true). What is missing is any comparison to a sibling tool for general artifact updates.

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