Skip to main content
Glama
This connector has been deprecated

Replaced by rent.dev.

Duplicate listing. rent.dev is listed from the official MCP Registry as dev.rent/rent, and that listing is the maintained one.

Get a port URL

rent_get_port_url
Read-onlyIdempotent

Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. The public HTTPS URL of a port in the sandbox (https://{port}-{sandbox}.{domain}). It serves while the sandbox runs and something listens on the port.

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": {
      "sandbox_id": "<sandbox_id>",
      "port": "<port>"
    },
    "name": "rent_get_port_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
portYes
sandbox_idYesSandbox id (`lse_…`) from rent_create_sandbox or rent_list_sandboxes. It names the sandbox for its whole life and keeps answering rent_get_sandbox, with the final state, after it ends.

Output Schema

NameRequiredDescriptionDefault
urlYes
portYes

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 the safety profile is covered. The description adds real value beyond them: authentication requirement with a signup fallback, and the lifetime/availability condition that the URL only serves while the sandbox is running and a listener exists — behavior the schema and annotations do not convey.

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?

Three short sentences, front-loaded with the access prerequisite, then the return shape, then the availability condition. No filler; the parenthetical URL template is efficient. Slightly fragmented as a result of the auth sentence leading.

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 the return value need not be explained, and the description covers auth, URL format, and validity window. For a two-parameter read tool that is nearly sufficient; only the failure case (port not listening, sandbox ended) is left unstated.

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 50%: sandbox_id carries a rich description while port is only bounded 1–65535 with no prose. The description partially compensates by framing the port as a listening endpoint inside the sandbox, but adds no detail on port collision, protocol, or what happens when nothing listens.

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?

Names a specific resource (the public HTTPS URL of a port in a sandbox) and even shows the URL shape `https://{port}-{sandbox}.{domain}`, so an agent can tell it apart from rent_get_sandbox. It does not explicitly contrast with siblings, which keeps it 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?

It gives a prerequisite (rent.dev account, or rent_signup first) and a validity condition ('serves while the sandbox runs and something listens on the port'), which implies when the result is meaningful. There is no explicit when-to-use vs. when-not guidance or named alternative for retrieving a different kind of endpoint information.

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