Skip to main content
Glama

Page preview link

get_page_preview_link
Read-onlyIdempotent

Use this when the user wants to look at a page. Returns the preview link (opens for people signed in to AdAce Ads in this workspace) and, for a published page, the public link. Changes nothing.

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": {
      "page_id": "<page_id>"
    },
    "name": "get_page_preview_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_idYespage_id from list_landing_pages or draft_landing_page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so safety is covered; the description still adds real context beyond them — the preview link requires the viewer to be signed in to AdAce Ads in this workspace, and the public link only exists for published pages. 'Changes nothing' restates the readOnly hint, which is minor redundancy.

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?

Two compact sentences that front-load the trigger condition and then the return contents; the trailing 'Changes nothing' is redundant with the readOnly annotation but harmless.

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 usefully explains what comes back (preview link, plus public link when published) and the sign-in prerequisite. Minor gaps remain around unpublished-page behavior or link stability, but nothing critical for correct invocation.

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 the schema already tells the agent page_id comes from list_landing_pages or draft_landing_page. The description adds no further semantics about page_id, so baseline 3 applies.

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: returns the preview link for a page, plus the public link when published. It distinguishes itself from content-fetching siblings only implicitly (links vs. page data), so differentiation from get_landing_page is not spelled out.

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?

"Use this when the user wants to look at a page" implies a usage context but is ambiguous, since 'look at a page' could also describe get_landing_page. No explicit when-not or named alternative is given.

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