Skip to main content
Glama
shigechika

io.github.shigechika/junos-mcp

by shigechika

health_check

Check if the MCP server is healthy and verify config.ini loads correctly, reporting version, router count, and tags without opening any device connection.

Instructions

Report server version and config status — without connecting to any device.

Call this at session start (or after a tool-call timeout) to confirm the MCP is up, see which version is running, and verify that config.ini loads and how many routers it defines. Lightweight by design: junos-mcp fans out to many Juniper devices, so this check ONLY loads config.ini and counts hosts — it opens NO NETCONF/SSH connection to any device.

Always returns the same keys: status (healthy / error), service, version, config_path (the resolved config.ini path it would use), router_count (number of host sections in config.ini), tags (sorted list of distinct tags across configured hosts), and config (ok / error / missing). On an error result, detail carries the reason. There is no degraded state: this check either loads config.ini or it does not.

Args: config_path: Path to config.ini (empty string uses default search).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
config_pathNo
Behavior5/5

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

No annotations exist, but the description fully discloses behavior: lightweight design, only loads config.ini, no network connections, guaranteed return keys, and error states. No contradictions.

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?

Well-structured with a headline summary, usage guidance, detailed return fields, and parameter documentation. Every sentence adds value without verbosity.

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?

Without an output schema, the description enumerates all return keys (status, service, version, etc.) and explains error handling. It compensates fully for missing structured metadata.

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 input schema has 0% description coverage, but the description adds a full parameter explanation: 'config_path: Path to config.ini (empty string uses default search).' This provides essential meaning.

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 'Report server version and config status — without connecting to any device.' It identifies the specific verb and resource, and distinguishes from sibling tools that connect to devices.

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

Usage Guidelines5/5

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

Explicitly advises 'Call this at session start (or after a tool-call timeout)' and specifies when not to use it: 'opens NO NETCONF/SSH connection to any device,' contrasting with other tools.

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