Skip to main content
Glama

rabbitmq__CreateVhost

Create a RabbitMQ virtual host in a specified Huawei Cloud instance to isolate queues, exchanges, and permissions for separate applications or tenants.

Instructions

[RABBITMQ] 创建Vhost。

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": {
      "instance_id": "<instance_id>",
      "name": "<name>",
      "project_id": "<project_id>"
    },
    "name": "rabbitmq__CreateVhost"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesVhost名称
project_idYes项目ID,获取方式请参见[获取项目ID](rabbitmq-api-190611012.xml)。
instance_idYes实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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 discloses only that a write occurs ('创建'), saying nothing about permissions required, behavior on duplicate vhost names, whether the instance must be in a particular state, or reversibility. For a mutation tool with zero annotation coverage this is a substantial gap.

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?

It is a single front-loaded clause with no filler, so nothing is wasted, but the brevity stems from under-specification rather than disciplined editing. The bracketed product tag is the only structuring element.

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 three-required-parameter mutation with no annotations and no output schema, the description supplies none of the behavioral context an agent needs (success/failure semantics, duplicate handling, instance prerequisites). The schema covers the parameters, but the definition as a whole is not complete enough to call this tool confidently.

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%: name, project_id, and instance_id are each documented in the schema, including a pointer to the project ID retrieval doc. The description contributes no additional meaning about these parameters, so the baseline of 3 applies.

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

Purpose2/5

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

The description "[RABBITMQ] 创建Vhost" is essentially a restatement of the tool name CreateVhost with a product tag prefixed. It does identify a verb (创建) and a resource (Vhost), but it adds no scope, target instance context, or differentiation from siblings like rabbitmq__ListVhosts or rabbitmq__BatchDeleteVhosts; an agent learns nothing it could not infer from the name alone.

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 or when-not-to-use guidance, no mention of alternatives (e.g. creating a vhost vs. using an existing one from ListVhosts), and no stated prerequisites such as the instance needing to exist or be running. Usage is only implicit in 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