Skip to main content
Glama

Resolve share link

resolve_share_link
Read-only

Turn a share link of the user's workspace (https://playbook.com/s/{workspace}/{link}) into the folder behind it. Returns organization, folder_token, folder_title, uploads_enabled and expired. To read what is on the link, call list_assets with THAT organization (a full URL names its own workspace, which may not be your default), collection_token: folder_token and nested_assets: true. Only active links of a workspace the user belongs to resolve; a renamed link also resolves by its old address. When the id in a /s/ URL is a folder's token rather than a link, the folder is read and comes back as organization, folder_token and folder_title only: that says nothing about whether the URL works as a public link. A link that shares hand-picked assets rather than a folder returns asset_tokens (up to 100) and asset_count instead of folder_token: read those with get_assets. A folder's own address in the app (https://playbook.com/{workspace}/{folder_token}, no /s/) is accepted too: it already carries the folder token, and comes back as organization, folder_token and folder_title only.

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": {
      "share_url": "<share_url>"
    },
    "name": "resolve_share_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
share_urlYesThe full share URL, or just its last path segment. A full URL names its own workspace, so `organization` is not needed with one.
organizationNoWorkspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changed
    • changedInput schema / properties / share_url / description
      Previous value: -"The full share URL, or just its last path segment"New value: +"The full share URL, or just its last path segment. A full URL names its own workspace, so `organization` is not needed with one."
  3. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / context
      Removed value: -{
      -  "description": "Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): \"Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization.\"",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "share_url",
      -  "context"
      -]New value: +[
      +  "share_url"
      +]
  4. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/non-destructive annotations by disclosing result variance: which fields come back for folder links vs. asset links vs. a bare folder token, the 100-asset cap on `asset_tokens`, renamed-link behavior, and the warning that a folder-token match says nothing about public-link validity. These are real behavioral traits an agent could not infer from the schema.

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?

Purpose is front-loaded and most sentences carry unique edge-case value, but the closing clause about the app folder address is long and serial, and the phrase 'comes back as organization, folder_token and folder_title only' is repeated near-verbatim twice. Trimming that duplication would tighten an otherwise information-dense definition.

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?

With no output schema, the description fully carries the return contract — enumerating `organization`, `folder_token`, `folder_title`, `uploads_enabled`, `expired`, plus the alternate `asset_tokens`/`asset_count` shape. Combined with the failure and eligibility notes, nothing essential for a correct call is missing.

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 coverage is 100% and already explains that `organization` is derivable from a full URL, so the description mostly restates that rule. It adds a small amount of nuance (the URL's workspace 'may not be your default'), but no new syntax or format detail for `share_url` beyond what the schema states.

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: turn a share link into the folder behind it, with the exact URL shape (`https://playbook.com/s/{workspace}/{link}`). It also names the follow-up siblings (list_assets, get_assets), so an agent can place it in the workflow immediately.

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?

Explicitly routes to alternatives with conditions: use list_assets with the returned `organization`, `collection_token`, and `nested_assets: true` to read link contents, and get_assets when the link resolves to `asset_tokens` instead of a folder. It also states the eligibility boundary — only active links in a workspace the user belongs to resolve.

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