Skip to main content
Glama
moonfruit

ibm-mq-mcp

by moonfruit

get_channel

Read-onlyIdempotent

Get a single IBM MQ channel's definition, optionally including its runtime status. Supply queue manager and channel name; status errors are returned as an object for easy parsing.

Instructions

查询单个通道的定义,可选附带运行状态。

Args: qmgr: 队列管理器名称,例如 QM1 name: 通道名称,例如 DEV.APP.SVRCONN include_status: 为 true 时额外查询 CHSTATUS(通道未运行时该查询会返回错误)。 查询失败时 status 字段是 {"error": "..."},而不是错误文本字符串—— 无论成功失败,status 字段始终是对象,便于解析。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
qmgrYes
include_statusNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already state readOnlyHint, idempotentHint, and destructiveHint=false, but the description adds meaningful behavioral detail: include_status triggers a CHSTATUS query that may error if the channel is not running, and the status field is always an object (including on failure) for easier parsing. This goes beyond annotations and helps the agent anticipate edge cases.

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

Conciseness5/5

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

The description is well-organized: a one-sentence purpose summary followed by a clear Args list. Each line earns its place, and the include_status explanation, while detailed, is necessary for correct use. No unnecessary words or repetition.

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

Completeness5/5

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

Given the presence of an output schema and clear parameter descriptions, the tool is fully specified for correct invocation. The description covers parameter meanings, optional behavior, and a critical parsing guarantee. Nothing essential is missing for an agent to call this tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It thoroughly explains all three parameters, provides concrete examples for qmgr and name, and details the include_status behavior including its failure semantics. This gives the agent full understanding beyond the bare schema types.

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

Purpose5/5

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

The description clearly states a specific action (查询/query) on a specific resource (单个通道的定义/single channel definition), and notes an optional extension (附带运行状态). It distinguishes from siblings like list_channels by emphasizing 'single', making the selection obvious.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage: use when querying a single channel definition. However, it does not explicitly mention alternatives (e.g., list_channels for listing or get_queue for queues) or state when not to use this tool. The guidance is present but only implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/moonfruit/ibm-mq-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server