Skip to main content
Glama

create_preview

A live preview page of a version or alias of a document, for showing a person. A version's preview never changes; an alias's follows it as it moves. The URL works for 12 hours.

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": {
      "document_id": "<document_id>"
    },
    "name": "create_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
aliasNoAn alias, such as `latest`; `latest` when neither this nor `version` is given.
versionNoA version, by number.
document_idYesThe document to preview.

Output Schema

NameRequiredDescriptionDefault
urlYesThe preview page on rendermate.com; the credential rides in its fragment, so it never reaches a server's logs.
tokenYesThe preview credential itself, for the document's events feed (`?token=`).
targetYes
expires_atYesRFC 3339.
document_idYesThe document it previews.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Goes beyond annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false) with real behavioral facts: a version preview is immutable, an alias preview follows the alias as it moves, and the URL expires after 12 hours. It does not say whether creating a preview has side effects on the document or requires specific permissions, which is the remaining gap for a mutating tool.

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?

Three compact sentences, front-loaded with what the tool produces, then the version/alias distinction, then the expiry. Every sentence carries distinct information with no filler.

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?

An output schema exists, so return values need no explanation, and the description covers lifetime and version/alias behavior. It is nearly complete for a three-parameter tool; only side effects and permission requirements are unstated.

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 schema already documents alias (defaulting to 'latest') and version. The description adds genuine meaning the schema lacks: the semantic difference between previewing a version (frozen) versus an alias (live, follows the pointer), which is exactly the information needed to choose between the two optional parameters.

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 artifact: a live preview page of a document version or alias, plus what the preview does over time. It is clear what is produced, but it does not differentiate itself from the sibling create_link, which likely also produces a shareable URL — an agent cannot tell the two apart from this description alone.

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 only implied by 'for showing a person' and the version-vs-alias contrast, which guides parameter choice rather than tool choice. There is no explicit when-to-use statement and no when-not rule or named alternative (e.g., create_link) to route against.

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