Skip to main content
Glama

rabbitmq__CreateUser

Create a RabbitMQ user and assign per-vhost configure, write, and read permissions using regex patterns; supported only for AMQP instances.

Instructions

[RABBITMQ] 创建用户(仅AMQP版本支持)。

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": {
      "access_key": "<access_key>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>",
      "secret_key": "<secret_key>",
      "vhosts": "<vhosts>"
    },
    "name": "rabbitmq__CreateUser"
  }
}

Input Schema

NameRequiredDescriptionDefault
vhostsYes需要配置权限的Vhost,一个用户可以配置多个Vhost下的资源权限。
access_keyYes用户名,只能英文字母开头,且由英文字母、数字、中划线、下划线组成,长度为7~64个字符。
project_idYes项目ID,获取方式请参见[获取项目ID](rabbitmq-api-190611012.xml)。
secret_keyYes密钥。
instance_idYes实例ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 and largely drops it. It discloses the AMQP-only platform constraint, but omits that this is an irreversible write, whether the call is idempotent on duplicate usernames, whether vhost permissions take effect immediately, and what happens if secret_key or project_id are invalid.

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 bracketed-tag sentence, front-loaded with the verb and the platform caveat, with zero padding. It is efficient rather than bloated; the shortfall is under-specification, which is scored elsewhere.

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 five-required-parameter mutation with no annotations and no output schema, yet the description says nothing about the permission grant semantics that dominate the input, nor about the result of the call. The rich schema partly compensates, but for a write tool with zero annotation coverage the definition is too thin.

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% and the vhost/conf/write/read regex semantics are already fully explained in the schema, so the description adds nothing about the five required parameters. Baseline 3 applies when the schema does all the parameter work.

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?

The description states a specific verb and resource ("创建用户" / create user) plus an applicability constraint (AMQP-version instances only), which is more than a restatement of the name. It stops short of clarifying that the tool also grants per-vhost permissions, which is the bulk of the input schema.

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?

The only usage condition given is the AMQP-only restriction. Nothing tells the agent when to pick this over rabbitmq__UpdateUser or rabbitmq__ListUser, nor what prerequisites (instance state, existing user name collisions) must hold before creation.

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