Skip to main content
Glama

rabbitmq__UpdateUser

Modify RabbitMQ user parameters and per-vhost configure, write, and read permissions for an instance; supports AMQP only.

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>",
      "user_name": "<user_name>",
      "vhosts": "<vhosts>"
    },
    "name": "rabbitmq__UpdateUser"
  }
}

Input Schema

NameRequiredDescriptionDefault
vhostsYes需要配置权限的Vhost,一个用户可以配置多个Vhost下的资源权限。
user_nameYes用户名。
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.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It indicates a mutation and an AMQP-version restriction, but does not say whether the supplied vhosts list replaces or merges existing permissions, whether omitted vhosts lose access, or what authorization/credentials (access_key/secret_key) are required — critical for an operation that overwrites permission grants.

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 sentence with zero filler, with the resource and the key AMQP restriction front-loaded. It is efficient, though the terseness borders on under-specification rather than pure conciseness.

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 destructive-ish mutation with six required parameters including credentials and a nested vhost-permission array, with no annotations and no output schema. A one-line description leaves out the mutation semantics, prerequisites, and permission-replacement behavior an agent would need to call it safely.

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 nested vhost/conf/write/read regex semantics are fully documented in the schema itself. The description adds no parameter meaning beyond that (it never mentions vhosts or permission regexes), so the baseline 3 applies.

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 gives a verb-plus-resource ('修改用户参数' – modify user parameters), which distinguishes it from CreateUser/DeleteUser/ListUser by name. However, '参数' is vague about what is actually modifiable; the schema reveals that the tool really sets per-vhost configure/write/read permission regexes, and the description never says this.

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 guidance is the constraint '(仅AMQP版本支持)', which tells the agent about an applicability limit but not when to choose this tool versus siblings like CreateUser or DeleteUser, nor what prerequisites (existing user, owning instance/project) are needed. No when-not-to-use condition is stated.

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