Skip to main content
Glama

vpc__AssociateRouteTable

Associates subnets with a VPC route table or disassociates them, allowing direct reassociation to another table without removing the existing association first.

Instructions

[VPC] 路由表关联子网。子网关联路由表A后,再关联B,不需要先跟路由表A解关联再关联路由表B

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": {
      "project_id": "<project_id>",
      "routetable": "<routetable>",
      "routetable_id": "<routetable_id>"
    },
    "name": "vpc__AssociateRouteTable"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID
routetableYes路由表对象
routetable_idYes路由表ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose one genuinely non-obvious behavior — reassociation silently overrides an existing association — but it omits that the call is a mutation with side effects on the subnets' existing associations, and says nothing about the disassociate capability embedded in the payload or the response.

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?

Two short sentences, operation stated first, behavioral caveat second — no filler. It is close to minimal but the caveat sentence could be tightened and is the only content beyond the title.

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

Completeness2/5

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

For a mutation tool with a nested request body and no annotations or output schema, the description leaves important gaps: it never mentions that the same call can also disassociate subnets, nor what happens to subnets already attached to a different route table when the array is partial.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents project_id, routetable_id, and the nested associate/disassociate arrays; baseline 3 applies. The description adds a behavioral note about reassociation but never clarifies the associate vs. disassociate sub-lists, which is the most ambiguous part of the payload.

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: associate a route table with subnets, scoped to VPC. The name plus this sentence lets an agent distinguish it from DisassociateRouteTable, but the description itself never explicitly contrasts the two or names the counterpart operation.

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?

Implies the usage context (attach a route table to subnets) and adds a useful note that re-association to a new route table does not require prior disassociation. It gives no explicit when-not-to-use guidance or pointer to the sibling disassociate/delete tools.

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