Skip to main content
Glama

solari_get_preview_url

Get a public preview URL for an in-guest port (e.g. a dev server on :3000). Returns { url, token? }.

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": {
      "sessionId": "<sessionId>",
      "port": "<port>"
    },
    "name": "solari_get_preview_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
portYes
sessionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does convey one important behavioral trait beyond the name: the URL is public-facing, and it sketches the return payload as { url, token? }, hinting at optional token-gated access. It says nothing about expiry, whether the exposure persists after the call, auth requirements, or whether the URL is reachable without the token.

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?

Two compact sentences, purpose front-loaded and the return shape appended, with zero filler. Nothing could be removed without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no annotations, the return-shape hint is a valuable addition. However, for a tool that exposes a guest port publicly, the absence of any note on sessionId semantics, token behavior, or URL lifetime leaves real gaps an agent would need to call it confidently.

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 0%, so the description must compensate. It does explain 'port' well, clarifying that it refers to an in-guest port such as :3000, but 'sessionId' is never mentioned and its relationship to the session being previewed is left entirely to inference.

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 public preview URL for an in-guest port', with a concrete example (dev server on :3000) that pins down the concept immediately. It does not differentiate itself from siblings like solari_connect or solari_exec, which could plausibly be confused with it, so it stops short of a 5.

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?

The parenthetical example implies the intended scenario (exposing a dev server running inside the guest), which is useful implicit guidance. There is no explicit statement of when not to use it, prerequisites (e.g. does the session need to be connected first), or which alternative to reach for otherwise.

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