@intangle/mcp-server 1.2.5 → 1.2.6

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
@@ -84,7 +84,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
84
84
  tools: TOOLS,
85
85
  }));
86
86
  async function handleSearchMemories(args) {
87
- const { space_id, query, topics, max_results = 10, depth = "balanced", return_format = "full", } = args;
87
+ const { space_id, query, topics, return_format = "full", } = args;
88
88
  // Require space_id
89
89
  if (!space_id) {
90
90
  throw new Error("space_id is required. Use list_spaces to see available options.");
@@ -94,8 +94,6 @@ async function handleSearchMemories(args) {
94
94
  space_ids: [space_id], // Convert to array for backend compatibility
95
95
  query,
96
96
  topics,
97
- max_results,
98
- depth,
99
97
  return_format,
100
98
  });
101
99
  }
@@ -3,13 +3,13 @@ export const TOOLS = [
3
3
  {
4
4
  name: "search",
5
5
  title: "Search Space",
6
- description: "Search for information within a space. Supports quick, balanced, and deep search modes.",
6
+ description: "Search for information within a space. System automatically extracts quantity from natural language ('show 3 tasks' → 3 results, 'the last one' → 1 result) and determines optimal depth from query complexity ('quick search' → quick mode, 'search deep' → deep mode). Always returns IDs - use fetch tool for full content.",
7
7
  inputSchema: {
8
8
  type: "object",
9
9
  properties: {
10
10
  query: {
11
11
  type: "string",
12
- description: "Search query for finding relevant memories",
12
+ description: "Search query with optional natural language hints for quantity ('show 5 tasks', 'the most recent', 'top 5') and depth ('quick search', 'fast search', 'search deep', 'thorough search'). Examples: 'show me 3 pending tasks', 'quick search for recent bugs', 'search deep for authentication issues'",
13
13
  },
14
14
  space_id: {
15
15
  type: "string",
@@ -20,17 +20,6 @@ export const TOOLS = [
20
20
  items: { type: "string" },
21
21
  description: "Optional: Filter by specific topics",
22
22
  },
23
- max_results: {
24
- type: "number",
25
- description: "Maximum number of results to return",
26
- default: 10,
27
- },
28
- depth: {
29
- type: "string",
30
- enum: ["quick", "balanced", "deep"],
31
- description: "Search depth: 'quick' = fastest, 'balanced' = thorough (default), 'deep' = most comprehensive",
32
- default: "balanced",
33
- },
34
23
  },
35
24
  required: ["query", "space_id"],
36
25
  },
@@ -96,7 +85,7 @@ export const TOOLS = [
96
85
  config_badges: {
97
86
  type: "array",
98
87
  items: { type: "string" },
99
- description: "Array of keywords for memory focus in this NEW space. These keywords help steer what context gets loaded when running 'start' for this space. Examples: ['fitness', 'recipes', 'travel planning'], ['client work', 'meetings', 'proposals'], ['TypeScript', 'React', 'API design']. They act as search terms to prioritize relevant memories.",
88
+ description: "Array of keywords for start tool keywords in this NEW space. These keywords help steer what context gets loaded when running 'start' for this space. Examples: ['fitness', 'recipes', 'travel planning'], ['client work', 'meetings', 'proposals'], ['TypeScript', 'React', 'API design']. They act as search terms to prioritize relevant memories.",
100
89
  },
101
90
  startup_preferences: {
102
91
  type: "string",
package/index.ts CHANGED
@@ -119,15 +119,11 @@ async function handleSearchMemories(args: any) {
119
119
  space_id,
120
120
  query,
121
121
  topics,
122
- max_results = 10,
123
- depth = "balanced",
124
122
  return_format = "full",
125
123
  } = args as {
126
124
  space_id: string;
127
125
  query: string;
128
126
  topics?: string[];
129
- max_results?: number;
130
- depth?: "quick" | "balanced" | "deep";
131
127
  return_format?: "full" | "summary" | "ids_only";
132
128
  };
133
129
 
@@ -143,8 +139,6 @@ async function handleSearchMemories(args: any) {
143
139
  space_ids: [space_id], // Convert to array for backend compatibility
144
140
  query,
145
141
  topics,
146
- max_results,
147
- depth,
148
142
  return_format,
149
143
  });
150
144
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intangle/mcp-server",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "Model Context Protocol server for Intangle - AI memory that persists across conversations",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -4,13 +4,13 @@ export const TOOLS = [
4
4
  name: "search",
5
5
  title: "Search Space",
6
6
  description:
7
- "Search for information within a space. Supports quick, balanced, and deep search modes.",
7
+ "Search for information within a space. System automatically extracts quantity from natural language ('show 3 tasks' → 3 results, 'the last one' → 1 result) and determines optimal depth from query complexity ('quick search' → quick mode, 'search deep' → deep mode). Always returns IDs - use fetch tool for full content.",
8
8
  inputSchema: {
9
9
  type: "object",
10
10
  properties: {
11
11
  query: {
12
12
  type: "string",
13
- description: "Search query for finding relevant memories",
13
+ description: "Search query with optional natural language hints for quantity ('show 5 tasks', 'the most recent', 'top 5') and depth ('quick search', 'fast search', 'search deep', 'thorough search'). Examples: 'show me 3 pending tasks', 'quick search for recent bugs', 'search deep for authentication issues'",
14
14
  },
15
15
  space_id: {
16
16
  type: "string",
@@ -22,18 +22,6 @@ export const TOOLS = [
22
22
  items: { type: "string" },
23
23
  description: "Optional: Filter by specific topics",
24
24
  },
25
- max_results: {
26
- type: "number",
27
- description: "Maximum number of results to return",
28
- default: 10,
29
- },
30
- depth: {
31
- type: "string",
32
- enum: ["quick", "balanced", "deep"],
33
- description:
34
- "Search depth: 'quick' = fastest, 'balanced' = thorough (default), 'deep' = most comprehensive",
35
- default: "balanced",
36
- },
37
25
  },
38
26
  required: ["query", "space_id"],
39
27
  },
@@ -79,7 +67,8 @@ export const TOOLS = [
79
67
  {
80
68
  name: "view_spaces",
81
69
  title: "View Spaces",
82
- description: "View all available spaces with their descriptions and metrics.",
70
+ description:
71
+ "View all available spaces with their descriptions and metrics.",
83
72
  inputSchema: {
84
73
  type: "object",
85
74
  properties: {},
@@ -106,7 +95,7 @@ export const TOOLS = [
106
95
  type: "array",
107
96
  items: { type: "string" },
108
97
  description:
109
- "Array of keywords for memory focus in this NEW space. These keywords help steer what context gets loaded when running 'start' for this space. Examples: ['fitness', 'recipes', 'travel planning'], ['client work', 'meetings', 'proposals'], ['TypeScript', 'React', 'API design']. They act as search terms to prioritize relevant memories.",
98
+ "Array of keywords for start tool keywords in this NEW space. These keywords help steer what context gets loaded when running 'start' for this space. Examples: ['fitness', 'recipes', 'travel planning'], ['client work', 'meetings', 'proposals'], ['TypeScript', 'React', 'API design']. They act as search terms to prioritize relevant memories.",
110
99
  },
111
100
  startup_preferences: {
112
101
  type: "string",