Skip to main content
Glama

List network attachment candidates

list_network_attachment_candidates
Read-onlyIdempotent

Lists network attachment candidates and reports each service's eligibility, attachment mode, and reason code; use cursor pagination to review all results.

Instructions

For a network with port_intent_ready=true, check each existing service's attachment eligibility and attachment_mode; service_id selects one owned service. Follow next_cursor using after while candidates_has_more is true. Use this per-service result and its reason_code for existing-VM attachment, not new-server order_availability. Do not attach a service the backend marks ineligible. Requires explicit networking:read for reads or networking:manage for changes; full/read defaults do not grant networking. The backend enforces ownership, feature availability and service 2FA locks.

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": {
      "network_id": "<network_id>"
    },
    "name": "list_network_attachment_candidates"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNo
network_idYesExact lowercase UUID returned by an owned networking resource
service_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description still adds substantial context beyond them: required networking:read / networking:manage scopes that full/read defaults do not grant, plus backend enforcement of ownership, feature availability and service 2FA locks. The pagination loop (follow next_cursor via after while candidates_has_more) is also disclosed, making this well above the annotation baseline.

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?

Front-loads the precondition and the eligibility check, then moves through pagination, alternative selection, and authorization in a logical order. Every clause carries information, though the prose is packed with backend jargon (port_intent_ready, candidates_has_more, reason_code) that makes it heavier to parse than necessary.

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 3-parameter read-only tool with no output schema, it covers preconditions, pagination, authorization, and backend enforcement rules, which is most of what an agent needs to call it correctly. Remaining gaps, such as the shape of each candidate object and what attachment_mode values mean, are minor given the annotations already establish it as a safe read.

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?

With only 33% schema description coverage, the description compensates well: service_id is explained as selecting a single owned service, after is tied to next_cursor/candidates_has_more paging, and network_id gains the ownership and port_intent_ready preconditions. It does not restate the UUID format, but that is already in the schema, so the added meaning is appropriate.

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+resource: checking each existing service's attachment eligibility and attachment_mode for a given network, with the precondition port_intent_ready=true named up front. It also separates itself from new-server order availability. It stops short of a fully clean one-line statement of purpose because the opening clause is dense and the tool name does much of the disambiguating work.

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?

Explicitly says to use this per-service result and its reason_code for existing-VM attachment rather than new-server order_availability, and adds the prohibition 'Do not attach a service the backend marks ineligible.' Clear usage context with a real exclusion, though it names a concept rather than a sibling tool to call instead.

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

Deploy Server

Other Tools