Skip to main content
Glama

Get preview link

get_preview_link
Read-onlyIdempotent

Get a link to a website’s waiting preview, to give to the person for review. It works for one hour for anyone who has it, and ends sooner if the editor is removed or the preview is replaced. Make a preview first with update_site and preview: true. Editors 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": {
      "site_id": "<site_id>"
    },
    "name": "get_preview_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesThe id of the website site
workspace_idNoOptional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare this a read-only, idempotent, non-destructive call, and the description still adds substantive behavior: a one-hour lifetime, access by anyone holding the link, and early termination when the editor is removed or the preview is replaced. It also discloses the authorization requirement (editors only), which annotations cannot express.

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 short sentences, front-loaded with the outcome and followed by lifetime, revocation conditions, prerequisite, and permission. Every sentence carries a fact an agent needs; nothing is restated from the title or schema.

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 no output schema, the description should ideally say what comes back (the URL field name or whether an expiry timestamp is returned), and it does not. Otherwise it is complete for a two-parameter read tool: prerequisite, lifetime, revocation, and permissions are all covered.

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 both site_id and workspace_id are already documented in the schema, including the workspace selection rule. The description only alludes to 'a website' and offers no additional syntax, default, or workspace-selection guidance, so it earns the baseline rather than more.

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?

States a specific verb and resource ('Get a link to a website's waiting preview') plus the intent ('to give to the person for review'), which is far more than the title restated. It scopes the resource to a *preview* link, implicitly separating it from general share-link siblings, though it never names an alternative like create_share_link or set_link_expiry explicitly.

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?

Gives a clear prerequisite and the exact call that satisfies it: 'Make a preview first with update_site and `preview: true`', plus the audience gate 'Editors only.' It does not state when an agent should reach for a share link or expiry tool instead, so it is clear context without explicit exclusions.

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.