Skip to main content
Glama

discover_instances

Discovers and lists Unreal MCP instances, rescanning priority and extra ports to find and auto-register running endpoints, or quickly listing stored instances.

Instructions

Discover and list UE MCP instances.

rescan: If True, actively scans ports for running Unreal MCP endpoints. Priority ports are scanned first; if none found, extended range (8000-8999) is scanned. Discovered instances are auto-registered. If False, lists instances from stored state (fast). extra_ports: Comma-separated additional ports to scan (e.g. "9500,9501"). These are always scanned alongside priority ports, useful when you know the UE instance is running on a non-standard port.

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": "discover_instances"
  }
}

Input Schema

NameRequiredDescriptionDefault
rescanNo
extra_portsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does well: it discloses the port-scan order (priority ports first, then 8000-8999), the side effect that discovered instances are auto-registered, and the fast-path behavior of rescan=False. It does not mention permissions or what happens to already-registered instances, which keeps it below a 5.

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?

The purpose is front-loaded in one line, followed by two clearly labeled parameter blocks that each earn their place. No filler sentences or redundancy.

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 two-optional-parameter tool with an output schema already covering return values, the description supplies the scan behavior, fallback range, auto-registration side effect, and extra_ports format. It stops short of describing auth or registration persistence semantics, but nothing essential for invocation is missing.

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 description coverage is 0%, so the description must compensate, and it largely does: rescan's two modes and their consequences are spelled out, and extra_ports is given a format example ("9500,9501") plus its relationship to priority ports. The notion of "priority ports" is left undefined, which is a minor gap.

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 first line names a specific verb and resource: "Discover and list UE MCP instances." An agent can distinguish this from get_instance_health or hub_status by the word "discover," though the description never explicitly contrasts itself with those siblings.

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 rescan parameter discussion implicitly tells the agent when to scan (True) versus when to just list cached state (False, fast), which is useful conditional guidance. However, there is no explicit statement of when to prefer this tool over hub_status or get_instance_health, and no stated prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.