Skip to main content
Glama
netmiko-mcp-linksys

netmiko-mcp-linksys

by WackEarl

snmp_write_view_create

Add one allowed writable SNMP column to a write view, with dry-run prechecks and rollback validation; the change is not saved.

Instructions

Add one writable column to an SNMP write view. Does not save.

Gate this in the hub with unlock. subtree must be ifAdminStatus (1.3.6.1.2.1.2.2.1.7), ifAlias (1.3.6.1.2.1.31.1.1.1.18) or pethPsePortAdminEnable (1.3.6.1.2.1.105.1.1.1.3, PoE on/off); whole MIB subtrees are never allowed in a write view. There are no per-port exclusions: anyone with a community bound to this view can write these columns for every port, including SWITCH_PROTECTED_PORTS. The command is sent with a "%" error check and verified in show snmp viewtree; on any failure the column is removed again (no snmp view <view> <oid>) and the viewtree must equal the state before. The CLI syntax is not live-confirmed.

dry_run=true (default) runs the read-only prechecks and returns the commands the
first configuration step would send; nothing is sent.

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": {
      "view_name": "<view_name>",
      "subtree": "<subtree>"
    },
    "name": "snmp_write_view_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
subtreeYes
view_nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.1
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": true,
      +  "title": "Dry Run",
      +  "type": "boolean"
      +}
  2. Addedv0.2.0

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description does heavy lifting: it discloses that nothing is saved, that a '%' error check runs and the result is verified in show snmp viewtree, and that the column is removed (no snmp view ...) on any failure to restore the prior state. The security note that anyone with a bound community can write every port including SWITCH_PROTECTED_PORTS is valuable context. It also honestly flags that the CLI syntax is not live-confirmed.

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?

Front-loads purpose and the 'does not save' caveat, then layers gating, subtree constraints, verification/rollback, and dry_run behavior. Dense but nearly every sentence carries operational weight; the parenthetical OIDs are long but necessary for correct invocation.

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

Completeness5/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 no explanation, and the description covers mutation semantics, rollback, gating, and the dry_run precheck path. For a three-parameter mutating tool with no annotations, this is as complete as an agent needs to invoke it safely.

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?

Schema coverage is 0%, so the description must compensate, and it does for two of three parameters: subtree gets three exact OIDs and an exclusion rule, and dry_run is fully defined (default true, read-only prechecks, returns the commands the first config step would send, sends nothing). view_name is only implied via the 'no snmp view <view> <oid>' rollback syntax, leaving its format or pre-existence requirement unstated.

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?

States a specific verb and resource ('Add one writable column to an SNMP write view') plus an immediate scope limit ('Does not save'), which separates it from a view-creation or save step. The allowed subtree enum is spelled out with numeric OIDs, so an agent knows exactly what this tool does before opening the schema.

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

Usage Guidelines4/5

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

Gives concrete preconditions: gate in the hub with unlock, and subtree must be one of three named OIDs, with whole MIB subtrees and per-port exclusions explicitly disallowed. What's missing is an explicit pointer to the sibling to use instead when the goal is creating a view or committing config (e.g., snmp_view_create, save_config), so routing between tools is left partly to inference.

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