Skip to main content
Glama

Where to look

get_preview_links
Read-only

The addresses to open for a project or one task: the task's preview, the whole site's preview, the live view of each Builder working now, and the live site. Send project_id or task_id.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_preview_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idNoA task (list_tasks gives ids).
project_idNoA project (list_projects gives ids).
workspace_idNoWorkspace id from whoami; omit when there is one.

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 readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds real context beyond that: it discloses that some returned links are ephemeral 'live view of each Builder working now' and that results differ by scope (task vs. whole site). It stops short of describing auth needs or the response's shape/pagination.

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 tight sentences: the payload of links comes first, the input instruction last. Nothing is repeated or padded, though 'the addresses to open' is slightly indirect where 'the URLs' would be clearer.

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?

For a read-only, no-output-schema tool, the description effectively doubles as return-value documentation by listing the link categories. The remaining gap is behavioral: with zero required parameters it never says what is returned when neither id is provided, or how the two ids combine if both are sent.

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 task_id, project_id, and workspace_id with id sources. The description adds only the disjunctive framing ('project_id or task_id') and omits workspace_id entirely, so it neither undermines nor materially enriches the schema.

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?

The description names the resource precisely and even enumerates the four kinds of addresses returned (task preview, site preview, live Builder views, live site), which is far more specific than the title 'Where to look'. It does not explicitly contrast with siblings such as list_report_links or list_preview_domains, but an agent can tell this is a link-resolution tool rather than a query tool.

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?

'Send project_id or task_id' supplies a conditional input choice matching the description's 'for a project or one task' framing, which implies the two scopes. There is no explicit when-to-use vs. an alternative (e.g., list_report_links) and no statement about what happens if neither or both ids are supplied.

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