Skip to main content
Glama

Outbox: create a share link

outbox_create_share

Create a share link for a page or folder with optional expiry, recipient name, and password; recipients can open it, and unopened recipient links can trigger reminders.

Instructions

Creates a share link (share token) for a page or folder, with optional expiry, recipient name and password. Anyone with the link (and the password, if set) can open it. With a recipient on a page, you are reminded after 48 hours if the link is still unopened (remindIfUnopenedHours; null disables it); renewOnOpen keeps the link alive while the recipient keeps opening it. Returns { token, url, expiresAt, passphraseProtected, recipient, remindAt, renewOnOpen }.

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": {
      "resource": "<resource>"
    },
    "name": "outbox_create_share"
  }
}

Input Schema

NameRequiredDescriptionDefault
resourceYesSlug/path of the page or folder to share
recipientNoWho the link is for (e.g. 'Laura · Acme'). One link per person: each open is recorded under that name in outbox_page_views
passphraseNoOptional password (4-256 characters) the recipient must enter to open the link. Stored hashed; send it to the recipient through another channel
renewOnOpenNotrue = each open moves the expiry to now + expiresInDays (capped at 90 days after creation and at the issuing key's expiry). Requires expiresInDays. Default false
resourceTypeNopost (a page) or folderpost
expiresInDaysNoDays until the link expires (null = never)
remindIfUnopenedHoursNoHours (1-336) after which, if nobody has opened the link, you get an email (and a Slack DM if Slack is connected). null = no reminder. Omitted: 48 when `recipient` is set and the resource is a page; otherwise no reminder

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare that this writes and is open-world; the description adds the meaningful consequences: anyone with the link can open it, the passphrase is a second gate, a reminder email/Slack DM fires on an unopened recipient link, and renewOnOpen extends life on each open. It also discloses the return payload despite having no output schema. It does not mention that repeated calls create distinct links (non-idempotent) or permission requirements.

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 tight sentences, front-loaded with the verb and resource, then access semantics, then the two behavioral switches, then the return shape. No filler and no repetition of schema constraints.

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 seven parameters but full schema coverage and no output schema, the description supplies the one thing structured data lacks — the shape of the returned token/url/expiresAt object — and covers the public-access and reminder side effects. Gaps are minor: idempotency behavior on repeat calls and any auth/authorization preconditions.

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?

Schema description coverage is 100%, so the schema already documents resource, recipient, passphrase, renewOnOpen and the reminder rules in detail. The description paraphrases those same semantics (null disables the reminder, renewOnOpen keeps the link alive) rather than adding new meaning, so baseline 3 applies.

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 and resource ('Creates a share link (share token) for a page or folder') plus the scope of configuration (expiry, recipient, password). The create action is unambiguous against siblings like outbox_revoke_share and outbox_list_shares without needing them named.

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?

Usage is implied by the framing — share a page or folder with anyone holding the link, optionally per-recipient — and the conditional reminder default gives operational context. However, it never says when to prefer this over outbox_create_grant, outbox_publish_anonymous, or a visibility change, and states no exclusions or prerequisites (auth level, plan limits).

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