Skip to main content
Glama

search_device_parameters

Read-onlyIdempotent

Searches a selected device's online function-code names and attributes with grouping/pagination, verifies versions, fetches missing catalogs read-only, and returns metadata/source, not current values.

Instructions

搜索选中设备在线获取的功能码名称和属性,支持分组及分页。每次核对设备/参数版本;缺少目录时自动只读获取。返回字典身份、缓存时间和来源,不含当前值;当前值用 read_device_parameters。设备未提供枚举说明时不从其他型号补造。

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": "search_device_parameters"
  }
}

Input Schema

NameRequiredDescriptionDefault
portNoCOM7
groupNo
limitNo
queryNo
offsetNo
transportNoselected_tcp

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.1

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/openWorld annotations, it discloses that a version check happens each call, that a missing catalog triggers an automatic read-only fetch, that the response carries dictionary identity, cache time, and source, and that no current values are included. It also adds the anti-fabrication constraint on enums, which is genuine behavioral context an agent could not infer from the schema.

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?

Information-dense with no filler; each sentence contributes a distinct rule (scope, routing, return shape, enum constraint). The version-check clause is wedged mid-paragraph rather than front-loaded, which slightly interrupts the flow from purpose to routing.

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?

With an output schema present, the description needn't detail return values, yet it still summarizes them usefully (identity, cache time, source, no current values). The one gap is that connection targeting — port and transport — is left entirely to unidentified schema fields for a six-parameter tool.

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

Parameters2/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 carry parameter meaning, but it only implicitly covers grouping and pagination (group/limit/offset) and query. The port parameter (default COM7) and the transport enum (selected_tcp vs serial) are never explained, leaving a meaningful selection gap for a device-targeting tool.

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 names a specific verb+resource: search the function-code names and attributes fetched online from the selected device, with group and pagination support. It directly contrasts with the sibling read_device_parameters by stating it does not return current values, so an agent can distinguish the two without opening either schema.

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

Usage Guidelines5/5

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

It states explicit routing: use read_device_parameters for current values, and this tool for name/attribute lookup. It also gives operational rules — verify device/parameter version on every call, auto-fetch read-only when the catalog is missing, and never fabricate enum descriptions from other device models.

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