Skip to main content
Glama
nonead

nUR MCP Server

by nonead

get_ur_software_version

Retrieve software version information from Universal Robots by providing the robot's IP address. Use this tool to check system compatibility or diagnose issues with industrial robot controllers.

Instructions

根据用户提供的IP,获取指定机器人的软件版本 IP:机器人地址

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYes

Implementation Reference

  • The handler function for the 'get_ur_software_version' tool. It connects to the UR robot via IP, checks connection, queries the Polyscope version using DashboardClient, logs and returns the software version.
    def get_ur_software_version(ip: str):
        """根据用户提供的IP,获取指定机器人的软件版本
        IP:机器人地址"""
        try:
            if '连接失败' in link_check(ip):
                return return_msg(f"与机器人的连接已断开。")
            robot_list[ip].robotConnector.DashboardClient.ur_polyscopeVersion()
            result = robot_list[ip].robotConnector.DashboardClient.last_respond
            logger.info(f"IP为{ip}的优傲机器人的软件版本是{result}")
            return return_msg(f"IP为{ip}的优傲机器人的软件版本是{result}")
        except Exception as e:
            logger.error(f"软件版本获取失败: {str(e)}")
            return return_msg(f"软件版本获取失败: {str(e)}")
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It only states what the tool does (retrieves software version) but doesn't describe what happens if the IP is invalid, whether authentication is required, if there are rate limits, what format the version information returns in, or potential error conditions. This is inadequate for a tool that presumably communicates with external hardware.

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 efficiently structured in two brief sentences that directly address the tool's purpose and parameter. There's no unnecessary verbiage, and the information is front-loaded. It could be slightly more polished but effectively communicates the essentials.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool that interacts with physical robots (implied by IP address requirement) with no annotations and no output schema, the description is insufficient. It doesn't address critical context like required robot state (connected/online), authentication needs, error handling, return format, or how this differs from other robot data retrieval tools in the sibling list.

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?

The description explicitly mentions the 'IP' parameter and clarifies it's the '机器人地址' (robot address), adding meaningful context beyond the schema's bare 'Ip' title with 0% coverage. However, it doesn't provide format details (IPv4, hostname), validation rules, or examples, leaving some ambiguity about what constitutes a valid input.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('获取' - get/retrieve) and resource ('指定机器人的软件版本' - specified robot's software version), making the purpose understandable. However, it doesn't explicitly differentiate from sibling tools like 'get_robot_model' or 'get_serial_number' that also retrieve robot information, so it doesn't reach the highest clarity level.

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

Usage Guidelines2/5

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

The description provides minimal guidance by mentioning the IP parameter requirement, but offers no explicit when-to-use context, no comparison to alternatives, and no prerequisites like needing a connected robot. Given the many sibling tools for robot data retrieval, this lack of differentiation is a significant gap.

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/nonead/nUR-MCP-SERVER'

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