Skip to main content
Glama

add_router_interface

Attaches a subnet or port to a Neutron router to connect network interfaces and enable routed traffic through that router.

Instructions

Attach a subnet or port to a Neutron router. Service: Neutron (network). Mutates state.

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": {
      "router_id": "<router_id>"
    },
    "name": "add_router_interface"
  }
}

Input Schema

NameRequiredDescriptionDefault
port_idNo
router_idYes
subnet_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden, and 'Mutates state.' does supply the single most important fact (this is a write, not a read). However it omits other behavioral essentials for a mutation: required permissions/ownership, what happens if the router already has that interface attached, and whether the operation is reversible via the sibling remove tool. The 'Service: Neutron (network)' tag adds useful API-family context.

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 fragments, front-loaded with the action and resource, with no filler. 'Mutates state.' is terse but earns its place; the service tag is mild boilerplate but informative for API grouping.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described. But with zero annotation coverage, 0% schema description coverage, and a genuinely tricky one-of-two optional parameter pair, the description should have documented the exclusivity rule and the mutation's preconditions. It is adequate to identify the tool but not to call it correctly in edge cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 not. Mentioning 'subnet or port' gestures at subnet_id and port_id but omits the critical constraint that exactly one of them must be supplied (the schema marks only router_id as required, which is misleading on its own). router_id is never explained as the target router.

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 and resource: 'Attach a subnet or port to a Neutron router.' The verb 'attach' cleanly contrasts with the sibling 'remove_router_interface' without needing to name it. It stops short of 5 because the sub-resources (subnet vs port) are not disambiguated as alternatives.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: no prerequisites (router must exist, interface must not already be attached), and no pointer to remove_router_interface for the inverse operation. The only usage signal is the implied inverse-direction meaning of the verb.

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