Skip to main content
Glama

eip__AssociatePublicips

Binds an elastic public IP to a target resource using project and public IP IDs plus the target type and ID. Use it to associate EIPs with ports, NAT gateways, VPNs, or ELBs.

Instructions

[EIP] 绑定弹性公网IP

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>",
      "publicip": "<publicip>",
      "publicip_id": "<publicip_id>"
    },
    "name": "eip__AssociatePublicips"
  }
}

Input Schema

NameRequiredDescriptionDefault
publicipYes弹性公网IP对象
project_idYes项目ID
publicip_idYes弹性公网IP的ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses almost nothing beyond the bare action. It does not say this is a state-changing operation, whether it is idempotent or reversible, what permissions/ownership of project_id are required, or what happens if the EIP is already bound. Only the verb itself hints at mutation.

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 description is a single short phrase with no wasted words and is front-loaded, but it is under-specified rather than genuinely concise. There is no structure beyond the bracketed service tag and the action.

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?

This is a mutation tool with a nested-object parameter, no annotations, and no output schema, so the description needed to explain preconditions and effects. It explains neither, leaving the agent to infer behavior entirely from the schema fields.

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%, including nested fields for associate_instance_type (PORT/NATGW/VPN/ELB) and associate_instance_id, so the schema already does the explanatory work. The description adds no extra semantics, but the baseline of 3 applies when the schema is fully documented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (bind/associate) and resource (elastic public IP, tagged [EIP]), so the basic action is identifiable. However, it never states what the IP is being bound to or what a successful association means, and it does not distinguish itself from siblings like eip__DisassociatePublicips or eip__AddPublicipsIntoSharedBandwidth. Purpose is inferable but vague.

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, no prerequisites (e.g., the EIP must be unbound, the instance type must match), and no mention of alternatives such as disassociation or shared-bandwidth attachment. The agent must guess the correct context from the sibling list alone.

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