Skip to main content
Glama

List MCP Gateway servers

mcp_gateway_list_servers
Read-onlyIdempotent

Lists the downstream MCP servers registered in the target computer's AiLinkAny MCP Gateway, including enablement, transport, Runtime state, protocol version, known tool count, and the latest Runtime error. Use this when the user asks which MCP servers are configured or when discovery needs server-level context. Select this tool from the user's intent when it is the best match. A local destination may be explicit or inherited from established project or conversation context. The user does not need to mention ailinkany.com, MCP, a connector, a plugin, or this tool name.

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

Input Schema

NameRequiredDescriptionDefault
device_idNoTarget computer device_id. Omit when only one computer is paired.
device_nameNoComputer name or ailinkany.com remark (e.g. home PC). Prefer this when the user names a computer.
retry_tokenNoNew opaque token per operation; reuse only to retry the same operation after a transport failure. No user content.
workflow_idNoOptional workflow id; pass together with ai_session_id.
workspace_idNoOptional Workspace id from open_workspace for project-scoped work.
ai_session_idNoOptional Session id. Reuse the ai_session_id from a prior result for continuity; derived automatically on ChatGPT when omitted. Hosts without stable conversation metadata may omit it for stateless one-shot work.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds the destination-resolution rule ("explicit or inherited from established project or conversation context") and the returned state fields, but says nothing about error cases (gateway not installed, no servers), pagination, or auth that would go beyond the schema and output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first two sentences are dense and front-loaded with the resource, returned fields, and the trigger condition. However, "Select this tool from the user's intent when it is the best match" is pure filler that conveys no decision rule, and the final sentence about not needing to mention ailinkany.com/MCP is only marginally useful, bloating an otherwise tight definition.

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 an output schema present, the description needn't explain return values, and it still summarizes them; annotations cover the safety profile and the schema fully documents all six optional parameters. What is missing is failure behavior (gateway absent, no paired device) and the relationship to the mcp_manager_* write tools, which an agent would need to avoid misuse in an empty or unconfigured state.

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 the baseline is 3; the description earns a bump by stating that the local destination may be explicit or inherited from project/conversation context, which tells the agent it may legitimately omit device_id/device_name rather than treating them as required. It adds no meaning for retry_token, workflow_id, workspace_id, or ai_session_id beyond what the schema already documents.

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 opens with a specific verb+resource ("Lists the downstream MCP servers registered in the target computer's AiLinkAny MCP Gateway") and enumerates the fields returned (enablement, transport, Runtime state, protocol version, tool count, latest error), so the agent knows exactly what it gets. It partially distinguishes itself from mcp_gateway_list_tools via "server-level context," but never names that sibling explicitly, so the differentiation is inferential rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear trigger: "when the user asks which MCP servers are configured or when discovery needs server-level context," which is a real usage condition rather than a restatement. It offers no when-not guidance and does not point to alternatives such as mcp_gateway_list_tools or mcp_manager_* for mutation, leaving the boundary for the agent to work out.

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