Skip to main content
Glama

rabbitmq__CreateBinding

Creates a RabbitMQ binding between an exchange and a destination queue or exchange using a routing key, so messages are routed to the intended targets within a vhost.

Instructions

[RABBITMQ] 添加绑定。

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": {
      "destination": "<destination>",
      "destination_type": "<destination_type>",
      "exchange": "<exchange>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>",
      "routing_key": "<routing_key>",
      "vhost": "<vhost>"
    },
    "name": "rabbitmq__CreateBinding"
  }
}

Input Schema

NameRequiredDescriptionDefault
vhostYesVhost名称
exchangeYesExchange名称
project_idYes项目ID,获取方式请参见[获取项目ID](rabbitmq-api-190611012.xml)。
destinationYes要投递的Exchange或Queue名称
instance_idYes实例ID
routing_keyYes绑定键值,用于告知Exchange应该将消息投递到哪些Queue或Exchange中
destination_typeYes绑定目标端类型,Exchange或Queue。(AMQP版本只支持绑定Queue)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/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 and discloses almost nothing. It does not state that this is a mutating operation, whether it fails on duplicate bindings, whether bindings can be undone, or what permissions are needed. Only the bare intent of adding a binding is conveyed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single short sentence has no wasted words, but this is under-specification rather than conciseness. There is no structure, no front-loaded explanation of effect, and no information an agent could act on beyond the name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a seven-required-parameter mutating tool with no annotations and no output schema, the description is completely inadequate. It omits prerequisites, side effects, error behavior, and any indication of what a successful call returns or affects.

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%, with all seven parameters documented in the schema itself (vhost, exchange, destination, routing_key, destination_type, instance_id, project_id). The description adds nothing beyond the schema, so the baseline 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 is "[RABBITMQ] 添加绑定", which essentially restates the tool name CreateBinding in Chinese. It identifies the resource domain (RabbitMQ bindings) but adds no verb specificity, scope, or distinction from siblings like rabbitmq__DeleteBinding beyond the obvious create/delete polarity.

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 exchange and destination must already exist), and no mention of alternatives such as CreateExchange or CreateQueue. An agent must infer everything from the tool name and schema.

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