Skip to main content
Glama

eip__CountPublicIpInstance

Counts Public IP instances in a specified Huawei Cloud project using the project ID, enabling EIP usage tracking and capacity checks.

Instructions

[EIP] 查询PublicIp实例数

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>"
    },
    "name": "eip__CountPublicIpInstance"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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 burden. It implies a read-only query but does not confirm side-effect freedom, does not say what the count is scoped by (project, region, IP type), and gives no sense of return shape or limits.

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?

A single short phrase with no filler; the '[EIP]' service tag front-loads domain context. It is efficient, though it is terse to the point of under-specification.

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 simple one-parameter count tool the burden is low, but key facts are missing: what the count is computed over, whether it is project-scoped only, and how it differs from eip__CountPublicIp. The description is not complete enough to invoke confidently among siblings.

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?

There is one parameter with 100% schema description coverage ('project_id' documented as 项目ID), so the schema already does the work. The description adds no meaning about how project_id affects the count, which is the baseline 3 for high coverage.

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 states a verb and resource ('查询 PublicIp 实例数' = query the count of PublicIp instances), which is more specific than a restated name. However, it does not differentiate from the near-identical sibling eip__CountPublicIp, leaving the agent unable to tell which counting tool applies.

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, when-not-to-use, or alternative guidance. With a sibling literally named CountPublicIp, the absence of routing guidance is a real gap; only a weak implication that this is used to obtain a count can be inferred.

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