Skip to main content
Glama
shigechika

io.github.shigechika/junos-mcp

by shigechika

check_remote_packages

Verify that firmware packages staged on remote Junos devices match their expected checksums using NETCONF, enabling post-SCP copy verification.

Instructions

Verify the staged firmware checksum on one or more devices.

Equivalent to junos-ops check --remote. Connects to each device via NETCONF and verifies the package file (<model>.file) sitting on the device against <model>.hash. Doubles as post-SCP copy verification. Per-host model resolution: model arg > config.ini [host].model > device facts.

Args: hostnames: List of target device hostnames (must exist in config.ini) tags: Tag filter. Each list element is one tag group (comma-separated tags AND together within a group); multiple list elements OR together across groups. Combined with hostnames the result is the intersection. model: Override model resolution for all hosts (empty = per-host resolution) max_workers: Maximum parallel threads (default 20) config_path: Path to config.ini (empty string uses default search)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNo
modelNo
hostnamesNo
config_pathNo
max_workersNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description bears full burden. It discloses connection via NETCONF, checksum verification, and parallelism via 'max_workers'. It does not explicitly state non-destructiveness, but the verification purpose implies it. The description could mention that no changes are made to devices, but current detail is sufficient for a read-only check tool.

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?

The description is well-structured: purpose first, then equivalent command, then details, then parameter docs. It is concise but contains slight redundancy (e.g., 'Per-host model resolution' echoes model arg). Overall, it's efficient and front-loaded, earning a 4.

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?

Given 5 parameters, no annotations, and presence of output schema, the description is comprehensive. It covers the verification process, parameter details, and model resolution. It lacks error handling or prerequisites, but for a verification tool with output schema, it is sufficiently complete. Missing details like expected return values are covered by the output schema.

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

Parameters5/5

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

Schema coverage is 0%, so description must explain parameters. It does so thoroughly: 'hostnames' (target list), 'tags' (filter logic with AND/OR groups), 'model' (override), 'max_workers' (parallelism), 'config_path' (config file). Each parameter's role and default are clear, adding significant value beyond the raw schema.

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 clearly states the action ('verify'), resource ('staged firmware checksum'), and scope ('on one or more devices'). It distinguishes the tool from siblings like 'install_package' or 'copy_package' by focusing on verification. The mention of equivalence to a CLI command further clarifies its role.

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?

The description provides context for usage, e.g., 'Doubles as post-SCP copy verification', and explains the model resolution hierarchy. However, it does not explicitly state when to avoid using this tool or compare it to alternatives like 'check_local_inventory'. While the context is helpful, explicit comparisons would improve clarity.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shigechika/junos-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server