Skip to main content
Glama
shigechika

io.github.shigechika/junos-mcp

by shigechika

check_remote_packages

Verify firmware file integrity on Junos devices by comparing staged packages against checksum hashes via NETCONF.

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
hostnamesNo
tagsNo
modelNo
max_workersNo
config_pathNo

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 carries the full burden. It reveals that the tool connects via NETCONF, uses <model>.file and <model>.hash files, and performs per-host model resolution. It mentions default parallelism (max_workers=20) and config_path. It does not explicitly state read-only nature, but the verification purpose implies it. Overall good transparency.

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 front-loaded with the main purpose and flows logically. Parameter descriptions are thorough but slightly verbose. Overall, it is appropriately sized for the complexity, though could be tightened slightly without losing clarity.

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 the presence of an output schema, the description need not detail return values. It covers the operation, parameter roles, and model resolution. Missing details like error handling or host-not-found behavior are minor gaps. Description is sufficiently complete for a tool with 5 parameters.

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?

The description fully compensates for 0% schema coverage by explaining each parameter in detail. It clarifies that hostnames are target devices, tags use AND/OR logic, model overrides per-host resolution, max_workers controls threads, and config_path locates config. This adds significant meaning 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 tool verifies staged firmware checksum on devices, using specific verb 'verify' and resource 'staged firmware checksum'. It references the CLI equivalent 'junos-ops check --remote' and describes double purpose as post-SCP copy verification. This distinguishes it from sibling check tools effectively.

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 when to use (post-SCP copy verification) and explains model resolution precedence. However, it does not explicitly state when not to use this tool or provide direct comparisons to siblings like check_local_inventory or check_upgrade_readiness, leaving some ambiguity.

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