Skip to main content
Glama

select_network_device

Saves the IP, MAC, and network adapter of a device chosen from a scan list into local selection state without opening a TCP connection.

Instructions

用户明确选定扫描列表中的设备后,保存其 IP/MAC/网卡;仅更新本地选择,不建立 TCP 连接。

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": {
      "scan_id": "<scan_id>",
      "device_id": "<device_id>"
    },
    "name": "select_network_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
scan_idYes
device_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.1

TDQS

B3.4/5.0
Behavior4/5

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

The annotations only declare readOnlyHint=false and destructiveHint=false; the description adds genuinely new context that the write is confined to local selection state and opens no TCP connection, which reassures the agent about side-effect scope. It does not address the idempotentHint=false flag (re-selecting the same device) or what happens to a previously saved selection.

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 compact sentence with the precondition front-loaded and the scope caveat trailing. No filler, though the two clauses could be split for easier scanning.

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

Completeness3/5

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

An output schema exists, so return values need not be described, and annotations carry the mutation profile. The gap is the undocumented scan_id/device_id pair and the missing statement about replacing a prior selection, which matters for a non-idempotent write.

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% for both scan_id and device_id. The description hints that the device belongs to a scan list, but never says that device_id is the entry within that scan or what scan_id refers to, so the agent must infer the linkage entirely.

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-plus-resource: saving the IP/MAC/NIC of a device chosen from a scan list. That is distinct from scanning (scan_network_devices) or reading the current choice (get_network_selection), though neither sibling is named explicitly.

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?

It gives a precondition — the user must have explicitly picked a device from the scan list — which implies a prior scan. It does not name get_network_selection as the read-side alternative or state what to do when no scan exists, so routing is only implied.

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