@utaba/ucm-mcp-server 6.2.0 → 6.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ async function main() {
12
12
  program
13
13
  .name('ucm-mcp-server')
14
14
  .description('Universal Context Manager - Read the ucm_connect tool first to avoid mistakes')
15
- .version('1.0.5')
15
+ .version('6.3.0')
16
16
  .option('-u, --ucm-url <url>', 'UCM API base URL (defaults to https://ucm.utaba.ai)')
17
17
  .option('-p, --port <port>', 'Server port', '3001')
18
18
  .option('--log-level <level>', 'Log level', 'ERROR')
@@ -14,7 +14,7 @@ export class AccessConnectionTool extends BaseToolController {
14
14
  return 'ucm_access_connection';
15
15
  }
16
16
  get description() {
17
- return 'Access a specific external connection, check auth status, and return available tool schemas. Use this to see what tools are available for a connection before calling them.';
17
+ return 'Access a specific external connection, check auth status, and return available tool schemas. Call this without the toolNames parameter to get an index of all available tools. Pass in toolNames to learn the full parameter schema if needed.';
18
18
  }
19
19
  get inputSchema() {
20
20
  return {
@@ -14,7 +14,7 @@ export class CallRemoteToolTool extends BaseToolController {
14
14
  return 'ucm_call_remote_tool';
15
15
  }
16
16
  get description() {
17
- return 'Call a tool on an external connection. Use ucm_access_connection first to see available tools and their schemas.';
17
+ return 'Use ucm_access_connection to discover available tools and schemas before calling a tool for the first time on a connection. No need to re-access if the schema is already known from earlier in the conversation.';
18
18
  }
19
19
  get inputSchema() {
20
20
  return {
@@ -69,8 +69,10 @@ export class CallRemoteToolTool extends BaseToolController {
69
69
  authRequired: result.authRequired || false
70
70
  });
71
71
  // Clean proxy: pass through content blocks directly
72
+ // Prefer markdown over error — validation failures include full schema guidance
73
+ // so the AI can self-correct and retry with correct parameters
72
74
  if (!result.success) {
73
- return result.error || result.markdown || 'Tool execution failed';
75
+ return result.markdown || result.error || 'Tool execution failed';
74
76
  }
75
77
  // Return as pre-formatted MCP response — McpHandler will pass through
76
78
  return { content: result.content };
@@ -1,6 +1,6 @@
1
1
  import { BaseToolController } from '../base/BaseToolController.js';
2
2
  //import packageJson from '../../../../publish/package.json' assert { type: 'json' };
3
- const version = '6.2.0'; //TODO: tried to sync this with packageJson but it didn't work.
3
+ const version = '6.4.0'; //TODO: tried to sync this with packageJson but it didn't work.
4
4
  export class HealthCheckController extends BaseToolController {
5
5
  constructor(ucmClient, logger, publishingAuthorId) {
6
6
  super(ucmClient, logger, publishingAuthorId);
@@ -7,7 +7,7 @@ export class QuickstartTool extends BaseToolController {
7
7
  return 'ucm_connect';
8
8
  }
9
9
  get description() {
10
- return 'Connect to UCM and initialise operational context for the conversation. Call this tool FIRST at the start of every conversation — it loads your personalized account information, author IDs, repositories, policies, and connected services. Required for conversation initialisation before using any other UCM tools.';
10
+ return 'Connect to UCM and initialise operational context for the conversation. Call this tool FIRST at the start of every conversation — it loads your personalized account information, workspace IDs, repositories, policies, and connected services. Required for conversation initialisation before using any other UCM tools.';
11
11
  }
12
12
  get inputSchema() {
13
13
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utaba/ucm-mcp-server",
3
- "version": "6.2.0",
3
+ "version": "6.4.0",
4
4
  "description": "Universal Context Manager MCP Server - AI Productivity Platform",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ucm-mcp-server",
3
- "version": "6.2.0",
3
+ "version": "6.4.0",
4
4
  "description": "Universal Context Manager MCP Server - AI Productivity Platform",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",