Skip to main content
Glama

snmp_walk

Walks an OID subtree on a named network device via SNMP and returns truncated row output, a summary, and any error.

Instructions

Walk the OID subtree oid on device_name.

Returns a dict with: output — one row per line, truncated at row_limit summary — one-line description error — error message if anything went wrong, else None

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": {
      "device_name": "<device_name>",
      "oid": "<oid>"
    },
    "name": "snmp_walk"
  }
}

Input Schema

NameRequiredDescriptionDefault
oidYes
row_limitNo
device_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden; it does disclose useful behavior — per-line output rows truncated at row_limit and an error field that is None on success. However, it says nothing about timeouts, whether the operation is strictly read-only, rate limits, or what happens when a walk is very large beyond the truncation note.

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?

Front-loaded one-line action followed by a compact field list with zero filler. Every sentence is short and scannable, though the return-value block partly duplicates the output schema.

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 the returns block is somewhat redundant, while genuinely agent-critical detail — OID format, device_name source, error-recovery behavior, and differentiation from snmp_get — is absent. Adequate to invoke in the happy path, thin for correct routing and troubleshooting.

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 compensate and largely does not: it never specifies OID syntax (dotted numeric, leading dot, textual names) or how device_name maps to the device inventory. 'OID subtree' and 'truncated at row_limit' add slight meaning beyond the property names, but format and bounds for all three parameters remain undefined.

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 and resource — walking an OID subtree on a named device — which is concrete enough for an agent to recognize an SNMP walk operation. It does not explicitly distinguish itself from the sibling snmp_get, relying on the reader knowing the conventional get-vs-walk distinction.

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: 'walk the subtree' hints at bulk/table retrieval versus a single-value get. There is no explicit when-to-use, when-not-to-use, or named alternative such as snmp_get or list_devices for discovering a valid device_name.

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

Deploy Server

Other Tools