Skip to main content
Glama

list_servers

Read-only

Discover local TCP listeners with process, project directory, stack, URL, and HTTP status; optionally probe each server or include other users' listeners.

Instructions

List TCP listeners owned by the current user, with process, project directory, stack, URL, and HTTP status.

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

Input Schema

NameRequiredDescriptionDefault
probeNoSend an HTTP request to each listener. Default true.
includeOthersNoInclude listeners owned by other users. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and closed-world, so the safety profile is covered. The description adds that results include process, project directory, stack, URL, and HTTP status, which hints that live HTTP probing occurs, but it never states that requests are sent to each listener by default or what that costs in time or side effects.

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?

A single front-loaded sentence with no filler; scope and returned fields come before anything else and nothing is redundant.

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 a rich annotation set and no output schema, the description usefully compensates by listing the returned fields. It stops short of describing probe behavior (default-on HTTP requests) or any limits on how many listeners are returned, which would matter for an agent calling it against a busy host.

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 coverage is 100%, so both parameters are already documented, and the description adds meaning by enumerating what the probe enriches the output with (URL, HTTP status) and reinforcing the current-user default implied by includeOthers. Marginal but real value beyond 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 a concrete verb and resource ("List TCP listeners") and adds the scope ("owned by the current user") plus the fields returned. It is clear on its own, but it does not distinguish itself from siblings such as get_port_info or list_reservations, so an agent must infer the boundary.

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 scope phrase implies usage (seeing running servers for the current user), and the existence of an includeOthers parameter hints at a cross-user variant, but no explicit when-to-use or when-not-to-use guidance and no named alternative are given. Adequate but leaves routing to inference.

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