Skip to main content
Glama
nonead

nUR MCP Server

by nonead

get_actual_joint_pose

Retrieve current joint angles from a Universal Robots collaborative robot by specifying its IP address to monitor real-time positioning data.

Instructions

获取指定IP机器人的当前关节角度 IP:机器人地址

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYes

Implementation Reference

  • MCP tool handler decorated with @mcp.tool(). Retrieves current joint positions using robot_list[ip].get_actual_joint_positions() after connection check. Returns formatted message or error.
    @mcp.tool()
    def get_actual_joint_pose(ip: str):
        """获取指定IP机器人的当前关节角度
        IP:机器人地址"""
        try:
            if '连接失败' in link_check(ip):
                return return_msg(f"与机器人的连接已断开。")
            logger.info(f"当前关节姿态 {robot_list[ip].get_actual_joint_positions()}")
            return return_msg(f"当前关节姿态 {robot_list[ip].get_actual_joint_positions()}")
        except Exception as e:
            logger.error(f"TCP位置获取失败: {str(e)}")
            return return_msg(f"TCP位置获取失败: {str(e)}")
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states it retrieves current joint angles, implying a read-only operation, but doesn't disclose critical behaviors: whether it requires authentication, rate limits, real-time vs. cached data, error conditions, or response format. For a tool with zero annotation coverage, this leaves significant gaps in understanding how it behaves.

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 concise with two short sentences that directly state the purpose and parameter meaning. It's front-loaded with the main action. However, the second sentence 'IP:机器人地址' is somewhat redundant as it repeats the parameter name without adding much new value, slightly reducing efficiency.

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?

Given the complexity (a read operation with no annotations, no output schema, and 1 parameter), the description is incomplete. It doesn't explain what the output looks like (e.g., array of angles, units), error handling, or dependencies like robot connectivity. For a tool in a robotics context with many siblings, more context is needed to use it effectively.

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 adds minimal semantics beyond the input schema. It specifies that the 'ip' parameter is '机器人地址' (robot address), which clarifies its purpose, but the schema already has a title 'Ip' and type 'string'. With 0% schema description coverage and 1 parameter, the description compensates slightly by explaining the parameter's role, but doesn't add format details (e.g., IP format) or examples. Baseline is 3 due to low parameter count.

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 verb '获取' (get/retrieve) and the resource '指定IP机器人的当前关节角度' (current joint angles of a specified IP robot), making the purpose explicit. It distinguishes from siblings like get_actual_tcp_pose (which gets TCP pose) or get_joint_temperatures (which gets temperatures), though it doesn't explicitly name these alternatives. The purpose is specific but lacks explicit sibling differentiation.

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 no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., robot must be connected), exclusions, or compare with similar tools like get_actual_tcp_pose for pose data. The context is implied (when joint angles are needed), but no explicit usage rules are given.

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