Skip to main content
Glama
coolexer

Nokia SR OS gNMI MCP Server

by coolexer

sros_connect

Connect to a Nokia SR OS device via gNMI (gRPC) and register a named session with credentials for later operations.

Instructions

Connect to a Nokia SR OS device via gNMI (gRPC). Registers a named session with credentials for subsequent operations. Default port is 57400. TLS certificate verification is enabled by default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYesIP address or hostname of the SR OS device
nameYesSession name (e.g. 'pe1', 'core-rtr')
portNogNMI port (default: 57400)
timeoutNoConnection timeout in seconds (default: 10)
insecureNoUse insecure plain gRPC (no TLS). Required for Nokia srsim/containerlab labs. (default: false)
passwordYesgRPC/gNMI password
usernameYesgRPC/gNMI username
skip_verifyNoSkip TLS cert verification for labs only (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden but only partially meets it. It usefully states the default port (57400) and that TLS verification is on by default, which are safety-relevant behaviors; however it omits whether credentials are persisted, what happens on reconnecting an existing session name, and that sros_disconnect is needed for cleanup.

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?

Four short, front-loaded sentences with no filler; the core action is stated first and the security/port caveats follow. Slightly more than strictly needed but each sentence carries value.

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?

There is no output schema and no annotations, so the description must be self-sufficient; it explains connection behavior and defaults but says nothing about what a successful call returns (session handle/status) or how failures surface, leaving a gap for an 8-parameter stateful tool.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter is already documented in the schema, and the description adds only the default port value, which is already in the schema. Baseline 3 is appropriate since the schema does the heavy lifting.

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 uses a specific verb ('Connect') plus resource ('Nokia SR OS device via gNMI (gRPC)') and states the side effect of registering a named session. This clearly distinguishes it from siblings like sros_disconnect, sros_list_sessions, and the sros_set_* tools.

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?

The phrase 'for subsequent operations' implicitly tells the agent this must precede other sros_* calls, but there is no explicit when/when-not guidance and no named alternative (e.g. how it relates to sros_list_sessions or when to reuse an existing session). Usage is implied rather than stated.

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