Skip to main content
Glama

pt_list_devices

Read-onlyIdempotent

Retrieve the names, models, and type codes of devices in a Packet Tracer topology to identify hardware before configuring links or addresses.

Instructions

List device names, models and type codes. / 列出设备名称、型号及类型。

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds that the call surfaces three specific attributes, which is modestly useful given there is no output schema, but says nothing about completeness, ordering, or whether an empty result is possible.

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?

Extremely short and front-loaded with the core verb and resource, with the returned attributes following immediately. The bilingual duplication adds length without new information for most readers, but it is a deliberate locale affordance rather than noise.

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-argument, read-only enumeration tool with rich annotations and no output schema, the description covers the essentials by naming the attributes returned. Missing only edge-case context such as result ordering or behavior on an empty topology.

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; the baseline for a no-param tool applies. The description correctly implies no filtering or scope arguments are needed.

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?

States a specific verb+resource ('List devices') and further specifies the returned fields (names, models, type codes), which separates it from mutation siblings like pt_create_device. It does not explicitly contrast with potentially overlapping read siblings such as pt_show or pt_status, so it stops short of full sibling differentiation.

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?

The description contains no when-to-use or when-not-to-use guidance and names no alternative tool. An agent must infer that this is the discovery/enumeration step, likely before pt_connect_devices or pt_create_device, entirely on its own.

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