Skip to main content
Glama

查看 MQTT 连接

mqtt_connections

List saved MQTT broker connection configurations and their current runtime status without exposing passwords, so you can verify available connections and connection health.

Instructions

列出所有已保存的连接配置及其当前运行时状态(不返回密码)。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "mqtt_connections"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/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. It does add a valuable, non-obvious disclosure that passwords are never returned, but it does not explain what 'runtime status' means, how fresh it is, what the ordering is, or whether the read is cached.

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?

One short sentence, verb first, with the password caveat attached as a parenthetical rather than a separate clause. Nothing is redundant and nothing needs to be skimmed past.

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

Completeness4/5

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

For a zero-parameter read-only listing with no output schema, the description covers what is returned (configs plus runtime state) and the one surprising exclusion (passwords). The remaining gap is the shape of the runtime status values, which an agent would need to interpret the result.

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

Parameters4/5

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

The tool takes zero parameters, so there is nothing for the description to disambiguate and the schema is trivially complete. Baseline 4 applies because parameter semantics are a non-issue here.

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 names a specific verb 列出 (list) and a specific resource 已保存的连接配置 (saved connection configurations) plus their runtime state, which distinguishes it from the mutating siblings mqtt_connect/mqtt_configure. It stops short of naming which sibling to use for other connection operations, so differentiation is implicit rather than explicit.

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?

Usage is only implied: an agent can infer this is the discovery step before calling mqtt_connect or mqtt_configure. There is no explicit statement of when to call it, when not to, or which sibling handles a different need.

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