@hydradb/mcp 1.2.0 → 1.2.2

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/cypher.js ADDED
@@ -0,0 +1,145 @@
1
+ /**
2
+ * Rendering and local limits for the BYOG (Bring Your Own Graph) tool.
3
+ *
4
+ * Deliberately contains NO Cypher analysis. An earlier version lexed the query
5
+ * to classify reads vs writes and to pre-reject constructs the server refuses,
6
+ * which meant a second, worse implementation of the server's own rules living
7
+ * in a client: it could only ever agree with the server or be wrong, and being
8
+ * wrong meant refusing a query HydraDB would have run.
9
+ *
10
+ * The server is the authority on what Cypher is valid and permitted. It rejects
11
+ * unsupported constructs before executing anything — verified: a query mixing
12
+ * CREATE with a procedure call leaves the node count unchanged — and its
13
+ * messages are more specific than the ones this file used to produce.
14
+ *
15
+ * What is left is the work a client genuinely owns: turning the server's row
16
+ * objects into something readable, and the two limits that are cheaper to check
17
+ * here than to discover from a remote error.
18
+ */
19
+ /**
20
+ * The documented request-body ceiling for `POST /byog/query`.
21
+ *
22
+ * Enforced before the request goes out. The server answers an oversize body
23
+ * with 413 — but only after the whole thing has been uploaded, which on a bulk
24
+ * load is the slowest possible way to learn the batch was too big.
25
+ */
26
+ export const MAX_BODY_BYTES = 256 * 1024;
27
+ /** Collection names the server accepts. Rejecting locally names the rule. */
28
+ export const COLLECTION_PATTERN = /^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$/;
29
+ // --- Result rendering ---
30
+ /**
31
+ * The renderer-added keys on a returned node or relationship.
32
+ *
33
+ * These are added by HydraDB's renderer, not stored by the user, so they are
34
+ * separated from the real properties when rendering. A stored property with one
35
+ * of these names is shadowed in the response — which is worth knowing but is
36
+ * the server's behaviour, not something this file can fix.
37
+ */
38
+ const NODE_KEYS = ["id", "labels"];
39
+ const REL_KEYS = ["id", "relation", "source_node_id", "target_node_id"];
40
+ function isRecord(value) {
41
+ return value != null && typeof value === "object" && !Array.isArray(value);
42
+ }
43
+ function isNode(value) {
44
+ return isRecord(value) && "labels" in value && "id" in value;
45
+ }
46
+ function isRelationship(value) {
47
+ return isRecord(value) && "relation" in value && "source_node_id" in value;
48
+ }
49
+ function isPath(value) {
50
+ return (isRecord(value) &&
51
+ Array.isArray(value.nodes) &&
52
+ Array.isArray(value.edges));
53
+ }
54
+ function properties(value, reserved) {
55
+ const out = {};
56
+ for (const [key, val] of Object.entries(value)) {
57
+ if (!reserved.includes(key))
58
+ out[key] = val;
59
+ }
60
+ return out;
61
+ }
62
+ function inline(value) {
63
+ if (value === null)
64
+ return "null";
65
+ if (typeof value === "string")
66
+ return value;
67
+ if (typeof value === "number" || typeof value === "boolean")
68
+ return String(value);
69
+ try {
70
+ return JSON.stringify(value) ?? String(value);
71
+ }
72
+ catch {
73
+ return String(value);
74
+ }
75
+ }
76
+ function propsToString(props) {
77
+ const entries = Object.entries(props);
78
+ if (entries.length === 0)
79
+ return "";
80
+ return ` {${entries.map(([k, v]) => `${k}: ${inline(v)}`).join(", ")}}`;
81
+ }
82
+ /**
83
+ * One returned value, rendered the way a graph user reads it.
84
+ *
85
+ * A node comes back as a flat object mixing its properties with `id` and
86
+ * `labels`; dumping that as raw JSON makes the caller do the separating. This
87
+ * renders `(:Person {name: "Alice"})` instead, which is both shorter and the
88
+ * notation the query was written in.
89
+ */
90
+ export function renderValue(value) {
91
+ if (isPath(value)) {
92
+ const nodes = value.nodes.map((n) => renderValue(n));
93
+ const edges = value.edges.map((e) => isRelationship(e) ? String(e.relation) : "?");
94
+ // Interleave nodes and edges in traversal order: (a)-[R]->(b)-[S]->(c).
95
+ const parts = [];
96
+ for (let i = 0; i < nodes.length; i++) {
97
+ parts.push(nodes[i] ?? "");
98
+ if (i < edges.length)
99
+ parts.push(`-[:${edges[i]}]->`);
100
+ }
101
+ return parts.join("");
102
+ }
103
+ if (isNode(value)) {
104
+ const labels = Array.isArray(value.labels)
105
+ ? value.labels.map((l) => `:${String(l)}`).join("")
106
+ : "";
107
+ return `(${labels}${propsToString(properties(value, NODE_KEYS))})`;
108
+ }
109
+ if (isRelationship(value)) {
110
+ return (`[${value.source_node_id}]-[:${value.relation}` +
111
+ `${propsToString(properties(value, REL_KEYS))}]->[${value.target_node_id}]`);
112
+ }
113
+ return inline(value);
114
+ }
115
+ /**
116
+ * Rows as a table, bounded.
117
+ *
118
+ * A traversal can return far more than the caller can use, and unlike the
119
+ * memory tools there is no server-side relevance ranking to lean on — the query
120
+ * asked for exactly this. So the ceiling is on the rendering, and what was
121
+ * dropped is stated rather than silently cut.
122
+ */
123
+ export function renderRows(rows, opts = {}) {
124
+ const maxRows = opts.maxRows ?? 100;
125
+ const maxChars = opts.maxChars ?? 20000;
126
+ if (rows.length === 0)
127
+ return "(0 rows)";
128
+ const shown = rows.slice(0, maxRows);
129
+ const columns = [...new Set(shown.flatMap((row) => Object.keys(row)))];
130
+ const lines = [];
131
+ for (const [index, row] of shown.entries()) {
132
+ const cells = columns.map((col) => col in row ? `${col}: ${renderValue(row[col])}` : `${col}: —`);
133
+ lines.push(`${index + 1}. ${cells.join(" | ")}`);
134
+ }
135
+ let body = lines.join("\n");
136
+ if (body.length > maxChars) {
137
+ body = `${body.slice(0, maxChars)}\n[truncated: ${body.length} chars of rendered rows]`;
138
+ }
139
+ const omitted = rows.length - shown.length;
140
+ const footer = omitted > 0
141
+ ? `\n\n[${omitted} more row(s) not shown — add SKIP/LIMIT to page through them]`
142
+ : "";
143
+ return `${body}${footer}`;
144
+ }
145
+ //# sourceMappingURL=cypher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cypher.js","sourceRoot":"","sources":["../src/cypher.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,GAAG,IAAI,CAAC;AAEzC,6EAA6E;AAC7E,MAAM,CAAC,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAErE,2BAA2B;AAE3B;;;;;;;GAOG;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C,EAAE,CAAC;IAEP,OAAO,GAAG,IAAI,GAAG,MAAM,EAAE,CAAC;AAC3B,CAAC"}
@@ -21,6 +21,8 @@ export declare const TOOL_DESCRIPTIONS: {
21
21
  readonly source_ids: string;
22
22
  readonly metadata_filters: string;
23
23
  readonly num_related_chunks: string;
24
+ readonly database: string;
25
+ readonly collection: string;
24
26
  };
25
27
  };
26
28
  readonly hydradb_ingest: {
@@ -38,6 +40,8 @@ export declare const TOOL_DESCRIPTIONS: {
38
40
  readonly observation_date: string;
39
41
  readonly turns: string;
40
42
  readonly user_name: string;
43
+ readonly database: string;
44
+ readonly collection: string;
41
45
  };
42
46
  };
43
47
  readonly hydradb_list: {
@@ -48,6 +52,8 @@ export declare const TOOL_DESCRIPTIONS: {
48
52
  readonly source_ids: "Optional array of specific source IDs to filter by. If omitted, lists all sources.";
49
53
  readonly page: string;
50
54
  readonly page_size: string;
55
+ readonly database: string;
56
+ readonly collection: string;
51
57
  };
52
58
  };
53
59
  readonly hydradb_inspect: {
@@ -59,6 +65,8 @@ export declare const TOOL_DESCRIPTIONS: {
59
65
  readonly offset: string;
60
66
  readonly limit: string;
61
67
  readonly expiry_seconds: string;
68
+ readonly database: string;
69
+ readonly collection: string;
62
70
  };
63
71
  };
64
72
  readonly hydradb_delete: {
@@ -68,6 +76,8 @@ export declare const TOOL_DESCRIPTIONS: {
68
76
  readonly ids: string;
69
77
  readonly id: "A single ID to delete. Prefer `ids` when removing more than one.";
70
78
  readonly kind: "Which context family the ID belongs to: 'memory' or 'knowledge' (default: 'memory')";
79
+ readonly database: string;
80
+ readonly collection: string;
71
81
  };
72
82
  };
73
83
  readonly hydradb_status: {
@@ -75,6 +85,35 @@ export declare const TOOL_DESCRIPTIONS: {
75
85
  readonly description: string;
76
86
  readonly params: {
77
87
  readonly ids: "The source IDs to check, as returned by hydradb_ingest.";
88
+ readonly database: string;
89
+ readonly collection: string;
90
+ };
91
+ };
92
+ readonly hydradb_graph_query: {
93
+ readonly title: "Query Graph (Cypher)";
94
+ readonly description: string;
95
+ readonly params: {
96
+ readonly query: string;
97
+ readonly params: string;
98
+ readonly database: string;
99
+ readonly collection: string;
100
+ readonly max_rows: string;
101
+ };
102
+ };
103
+ readonly hydradb_graph_collections: {
104
+ readonly title: "List Graph Collections";
105
+ readonly description: "List the graph collections in a graph database. Each collection is an independent graph with its own nodes, relationships and schema.\n\nUse it to discover what exists before querying, or to confirm a write created the collection you expected. Collections auto-create on first write, so a name missing here has simply never been written to.";
106
+ readonly params: {
107
+ readonly database: string;
108
+ };
109
+ };
110
+ readonly hydradb_graph_admin: {
111
+ readonly title: "Manage Graph Databases";
112
+ readonly description: string;
113
+ readonly params: {
114
+ readonly action: string;
115
+ readonly database: string;
116
+ readonly collection: "The collection to drop. Required for \"drop_collection\" and ignored otherwise.";
78
117
  };
79
118
  };
80
119
  readonly hydra_db_search: {
@@ -86,6 +125,8 @@ export declare const TOOL_DESCRIPTIONS: {
86
125
  readonly max_results: string;
87
126
  readonly mode: string;
88
127
  readonly graph_context: string;
128
+ readonly database: string;
129
+ readonly collection: string;
89
130
  };
90
131
  };
91
132
  readonly hydra_db_store: {
@@ -100,6 +141,8 @@ export declare const TOOL_DESCRIPTIONS: {
100
141
  readonly infer: string;
101
142
  readonly is_markdown: string;
102
143
  readonly overwrite: string;
144
+ readonly database: string;
145
+ readonly collection: string;
103
146
  };
104
147
  };
105
148
  readonly hydra_db_ingest_conversation: {
@@ -109,17 +152,25 @@ export declare const TOOL_DESCRIPTIONS: {
109
152
  readonly turns: "Array of conversation turns, each with a 'user' and 'assistant' field";
110
153
  readonly source_id: "Source identifier to group all turns from the same session together";
111
154
  readonly user_name: string;
155
+ readonly database: string;
156
+ readonly collection: string;
112
157
  };
113
158
  };
114
159
  readonly hydra_db_list_memories: {
115
160
  readonly title: "List Memories (deprecated)";
116
161
  readonly description: string;
162
+ readonly params: {
163
+ readonly database: string;
164
+ readonly collection: string;
165
+ };
117
166
  };
118
167
  readonly hydra_db_list_sources: {
119
168
  readonly title: "List Sources (deprecated)";
120
169
  readonly description: string;
121
170
  readonly params: {
122
171
  readonly source_ids: "Optional array of specific source IDs to filter by. If omitted, lists all sources.";
172
+ readonly database: string;
173
+ readonly collection: string;
123
174
  };
124
175
  };
125
176
  readonly hydra_db_fetch_content: {
@@ -130,6 +181,8 @@ export declare const TOOL_DESCRIPTIONS: {
130
181
  readonly mode: string;
131
182
  readonly offset: string;
132
183
  readonly limit: string;
184
+ readonly database: string;
185
+ readonly collection: string;
133
186
  };
134
187
  };
135
188
  readonly hydra_db_delete_memory: {
@@ -137,6 +190,8 @@ export declare const TOOL_DESCRIPTIONS: {
137
190
  readonly description: string;
138
191
  readonly params: {
139
192
  readonly memory_id: "The ID of the memory to delete";
193
+ readonly database: string;
194
+ readonly collection: string;
140
195
  };
141
196
  };
142
197
  };
@@ -34,9 +34,14 @@ const PARAM = {
34
34
  num_related_chunks: "Adjacent chunks to attach to each match for surrounding context (default: 0). " +
35
35
  "Each one multiplies the response size, so use 1-2 only when snippets are " +
36
36
  "arriving mid-sentence; prefer hydradb_inspect when you want a whole source.",
37
- operator: "How to combine the terms in your query: 'or' (default) matches any, 'and' " +
38
- "requires all, 'phrase' matches the words together in order. Reach for 'phrase' " +
39
- "when looking up an exact string such as an error message or a config key.",
37
+ operator: "Switches this query to KEYWORD retrieval (query_by=text) and says how to " +
38
+ "combine the terms: 'or' matches any, 'and' requires all, 'phrase' matches the " +
39
+ "words together in order. Hydra DB accepts an operator only on keyword " +
40
+ "retrieval, so setting it turns OFF the hybrid semantic search this tool " +
41
+ "otherwise runs — the query stops matching paraphrases and matches the literal " +
42
+ "words. Leave it unset for normal searches; set it only when the exact string " +
43
+ "is the point, such as an error message, a config key, or an identifier. " +
44
+ "Unset is not 'or': unset is semantic search.",
40
45
  expiry_seconds: "How long the download link stays valid, in seconds. Only meaningful with " +
41
46
  "mode 'url' or 'both'; ignored otherwise.",
42
47
  graph_context: "Include knowledge-graph relations (default: true). These are the entity paths — " +
@@ -65,9 +70,14 @@ const PARAM = {
65
70
  metadata: "Key/value metadata to store with this entry, as {key: value}. These are the " +
66
71
  "keys hydradb_query's metadata_filters can match on later, so set them when you " +
67
72
  "expect to narrow by them — e.g. {\"project\": \"hydradb\", \"kind\": \"decision\"}.",
68
- observation_date: "When the fact was true, as an RFC3339 date distinct from when you stored it. " +
69
- "Use it when saving something historical, so recency reflects the fact rather " +
70
- "than the write.",
73
+ // The format is stated as the server's own, YYYY-MM-DD. This said "RFC3339",
74
+ // which is a date-TIME format: a caller that followed it sent
75
+ // "2026-08-17T00:00:00Z" and got 400 INVALID_INPUT back from /context/ingest.
76
+ observation_date: 'When the fact was true, as a calendar date YYYY-MM-DD (e.g. "2026-07-04") — ' +
77
+ "distinct from when you stored it. Use it when saving something historical, so " +
78
+ "recency reflects the fact rather than the write. The server stores a date and no " +
79
+ "time of day: a date-time is truncated to its date part, and anything that is not " +
80
+ "a date is rejected.",
71
81
  infer: "Let Hydra DB extract insights and knowledge-graph entities from this text " +
72
82
  "(default: true). Keep it true for anything about the user or their work — that " +
73
83
  "extraction is what makes the content findable by concept later. Set false only to " +
@@ -107,6 +117,37 @@ const PARAM = {
107
117
  "were actually removed. This is irreversible.",
108
118
  delete_kind: "Which context family the ID belongs to: 'memory' or 'knowledge' (default: 'memory')",
109
119
  memory_id: "The ID of the memory to delete",
120
+ database: "Database (tenant) to target for this request. Defaults to the server's configured " +
121
+ "database. Pass explicitly to switch database scope per request.",
122
+ collection: "Collection (sub-tenant) to target for this request. Defaults to the server's configured " +
123
+ "collection (or 'hydra-db-mcp'). Pass explicitly to switch collection scope per request.",
124
+ };
125
+ /** Parameter blurbs for the BYOG graph tools. */
126
+ const GRAPH_PARAM = {
127
+ query: "The Cypher to run — a read (MATCH/RETURN, traversal, aggregation) or a write " +
128
+ "(CREATE, MERGE, SET, DELETE, REMOVE, FOREACH, index statements). Write data as " +
129
+ "$parameters, not as string-concatenated literals, and alias every returned " +
130
+ "expression (`RETURN n.name AS name`). Prefer MERGE on a key you own over bare " +
131
+ "CREATE so a retry cannot duplicate. Deletes are irreversible.",
132
+ params: "Values referenced by $name in the query, as {name: value}. Always pass user data " +
133
+ "this way rather than building it into the query text: parameters are bound safely " +
134
+ "and keep query plans cacheable. Lists work too — `UNWIND $rows AS row` with " +
135
+ '{"rows": [...]} is the supported way to write many nodes in one call.',
136
+ database: "Graph database to run against. Defaults to the server's configured graph " +
137
+ "database. This is a DIFFERENT namespace from the memory/knowledge database — a " +
138
+ "query aimed at the wrong one reads an empty graph rather than failing.",
139
+ collection: "Graph collection to run against. Defaults to the server's configured graph " +
140
+ "collection. Each collection is an independent graph; a query sees exactly one " +
141
+ "and never another's data.",
142
+ max_rows: "Maximum rows to render in the response (default: 100). Caps what reaches the " +
143
+ "conversation, not what the query computes — to actually limit the work, put " +
144
+ "`LIMIT` in the Cypher.",
145
+ action: 'Which operation to perform: "create_database", "drop_collection", or ' +
146
+ '"drop_database". The two drops are irreversible.',
147
+ admin_database: "The graph database to create or drop, or the one containing the collection " +
148
+ "being dropped. Defaults to the server's configured graph database — pass it " +
149
+ "explicitly for any drop, so the target is stated rather than inherited.",
150
+ admin_collection: 'The collection to drop. Required for "drop_collection" and ignored otherwise.',
110
151
  };
111
152
  function deprecated(alias, body) {
112
153
  return `DEPRECATED — use \`${ALIAS_REPLACEMENTS[alias]}\` instead. ${body}`;
@@ -151,6 +192,56 @@ const INSPECT_BODY = `Fetch the full original content of ONE stored item by its
151
192
  The id is the value shown as \`[id: …]\` in hydradb_query results and in [brackets] in hydradb_list output. Ids are not guessable — take one from those tools rather than constructing it.
152
193
 
153
194
  Long sources come back in slices; the response says where it stopped and what offset continues it. Binary sources are never inlined — you get their type and size, and \`mode: "url"\` returns a download link.`;
195
+ /**
196
+ * The dialect notes every graph tool needs to state.
197
+ *
198
+ * These are not general Cypher advice — each one is a construct that a model
199
+ * trained on Neo4j will reach for and that HydraDB REJECTS before running
200
+ * anything. A rejected query fails identically on retry, so the only way out is
201
+ * knowing the rule beforehand.
202
+ */
203
+ const CYPHER_DIALECT = `HydraDB runs your Cypher verbatim and never rewrites it. Near-complete openCypher, with these differences from Neo4j:
204
+ - Procedure calls are rejected — no \`CALL db.*\`, no \`CALL apoc.*\`. \`CALL { ... }\` subqueries ARE supported. To learn a collection's structure, query it: \`MATCH (n) UNWIND labels(n) AS l RETURN l, count(*) AS c ORDER BY l\`.
205
+ - \`LOAD CSV\` is rejected. Pass data through \`params\`: \`UNWIND $rows AS row MERGE (n:Thing {id: row.id}) SET n += row\`.
206
+ - Existence checks are bare pattern predicates — \`WHERE (p)-[:KNOWS]->()\`. The \`EXISTS { ... }\` block and the \`exists()\` function are not accepted.
207
+ - \`shortestPath\` goes in RETURN or WITH (not \`MATCH p = ...\`) and the traversal must be directed.
208
+ - Do NOT use \`EXPLAIN\`/\`PROFILE\` to preview a query: they EXECUTE it rather than planning it.`;
209
+ const GRAPH_SCOPE = `Queries run against exactly ONE collection — collections never see each other's data, so \`MATCH (n) RETURN n\` returns that collection's nodes and nothing else. \`database\` and \`collection\` default to the server's configured graph scope; pass them to target another.`;
210
+ const GRAPH_QUERY_BODY = `Run Cypher against a HydraDB graph collection — reads and writes alike. This is the graph database product: property graphs you model and own end to end, entirely separate from the memory/knowledge corpora that ${TOOL_NAMES.QUERY} searches.
211
+
212
+ Reads are what a graph is for — multi-hop traversal, variable-length paths, neighbourhood expansion, shortest paths, aggregation over relationships:
213
+ MATCH (a:Person {name:$n})-[:KNOWS*1..4]->(reach) RETURN DISTINCT reach.name AS name
214
+ MATCH (p:Person {name:$n})-[r]-(nbr) RETURN type(r) AS rel, nbr.name AS neighbor
215
+ MATCH (a:Person {name:$x}),(b:Person {name:$y}) RETURN shortestPath((a)-[:KNOWS*..8]->(b)) AS path
216
+
217
+ Writes go through this same tool — CREATE, MERGE, SET, DELETE, REMOVE, FOREACH, and index management:
218
+ UNWIND $rows AS row MERGE (p:Person {ext_id: row.ext_id}) SET p += row
219
+
220
+ THIS TOOL CAN DESTROY DATA. \`MATCH (n:Person) DELETE n\` empties a label and \`DETACH DELETE\` also removes its relationships; neither can be undone and there is no trash. Confirm with the user before running anything destructive they did not explicitly ask for, and prefer MERGE on a key you own over bare CREATE — a retried CREATE duplicates nodes where a MERGE does not.
221
+
222
+ Always pass user data through \`params\` rather than building it into the query string: parameters are bound safely and keep query plans cacheable.
223
+
224
+ ALIAS EVERYTHING you intend to read — \`RETURN n.name AS name\`. Unaliased expressions are keyed by their raw expression text.
225
+
226
+ Large results are silently truncated server-side, so paginate anything that could be big: \`ORDER BY ... SKIP $offset LIMIT $limit\`. Without ORDER BY, the rows you lose are arbitrary.
227
+
228
+ Collections auto-create on first write, so there is no create-collection call. A write with no RETURN succeeds with zero rows — that is success, not failure. Requests are capped at 256 KiB, so batch bulk loads (~500 rows per call is a good start).
229
+
230
+ ${GRAPH_SCOPE}
231
+
232
+ ${CYPHER_DIALECT}`;
233
+ const GRAPH_COLLECTIONS_BODY = `List the graph collections in a graph database. Each collection is an independent graph with its own nodes, relationships and schema.
234
+
235
+ Use it to discover what exists before querying, or to confirm a write created the collection you expected. Collections auto-create on first write, so a name missing here has simply never been written to.`;
236
+ const GRAPH_ADMIN_BODY = `Manage graph databases and collections. Pick one \`action\`:
237
+
238
+ "create_database" — create a graph database. Ready immediately, no provisioning wait. Fails if the name already exists.
239
+ "drop_collection" — drop ONE collection and all its data. Idempotent: dropping a collection that does not exist succeeds.
240
+ "drop_database" — drop EVERY collection in the database, and the database itself if it was created as a graph database.
241
+
242
+ The two drops are IRREVERSIBLE and there is no trash. Confirm with the user before either, and never infer one from a vague instruction — "clean up my graph" authorises nothing until the user has seen ${TOOL_NAMES.GRAPH_COLLECTIONS} output and named what should go.
243
+
244
+ There is no create-collection action: collections come into existence on their first write via ${TOOL_NAMES.GRAPH_QUERY}.`;
154
245
  export const TOOL_DESCRIPTIONS = {
155
246
  // --- Canonical tools (CONTRACT §3) ---
156
247
  [TOOL_NAMES.QUERY]: {
@@ -167,6 +258,8 @@ export const TOOL_DESCRIPTIONS = {
167
258
  source_ids: PARAM.query_source_ids,
168
259
  metadata_filters: PARAM.metadata_filters,
169
260
  num_related_chunks: PARAM.num_related_chunks,
261
+ database: PARAM.database,
262
+ collection: PARAM.collection,
170
263
  },
171
264
  },
172
265
  [TOOL_NAMES.INGEST]: {
@@ -191,6 +284,8 @@ export const TOOL_DESCRIPTIONS = {
191
284
  "neither. Use this when the exchange itself is worth preserving; when only the " +
192
285
  "conclusion matters, prefer `text` with the distilled fact.",
193
286
  user_name: PARAM.user_name,
287
+ database: PARAM.database,
288
+ collection: PARAM.collection,
194
289
  },
195
290
  },
196
291
  [TOOL_NAMES.LIST]: {
@@ -207,6 +302,8 @@ Memory rows come back as [id] content. Knowledge rows as [id] — title (type),
207
302
  source_ids: PARAM.source_ids,
208
303
  page: PARAM.page,
209
304
  page_size: PARAM.page_size,
305
+ database: PARAM.database,
306
+ collection: PARAM.collection,
210
307
  },
211
308
  },
212
309
  [TOOL_NAMES.INSPECT]: {
@@ -218,6 +315,8 @@ Memory rows come back as [id] content. Knowledge rows as [id] — title (type),
218
315
  offset: PARAM.fetch_offset,
219
316
  limit: PARAM.fetch_limit,
220
317
  expiry_seconds: PARAM.expiry_seconds,
318
+ database: PARAM.database,
319
+ collection: PARAM.collection,
221
320
  },
222
321
  },
223
322
  [TOOL_NAMES.DELETE]: {
@@ -231,6 +330,8 @@ Take the id from hydradb_query or hydradb_list — never guess one. Confirm with
231
330
  ids: PARAM.delete_ids,
232
331
  id: PARAM.delete_id,
233
332
  kind: PARAM.delete_kind,
333
+ database: PARAM.database,
334
+ collection: PARAM.collection,
234
335
  },
235
336
  },
236
337
  [TOOL_NAMES.STATUS]: {
@@ -243,6 +344,36 @@ Take the id from hydradb_query or hydradb_list — never guess one. Confirm with
243
344
  "'still indexing', not 'the save failed'.",
244
345
  params: {
245
346
  ids: "The source IDs to check, as returned by hydradb_ingest.",
347
+ database: PARAM.database,
348
+ collection: PARAM.collection,
349
+ },
350
+ },
351
+ // --- BYOG graph tools (PRO-1681) ---
352
+ [TOOL_NAMES.GRAPH_QUERY]: {
353
+ title: "Query Graph (Cypher)",
354
+ description: GRAPH_QUERY_BODY,
355
+ params: {
356
+ query: GRAPH_PARAM.query,
357
+ params: GRAPH_PARAM.params,
358
+ database: GRAPH_PARAM.database,
359
+ collection: GRAPH_PARAM.collection,
360
+ max_rows: GRAPH_PARAM.max_rows,
361
+ },
362
+ },
363
+ [TOOL_NAMES.GRAPH_COLLECTIONS]: {
364
+ title: "List Graph Collections",
365
+ description: GRAPH_COLLECTIONS_BODY,
366
+ params: {
367
+ database: GRAPH_PARAM.database,
368
+ },
369
+ },
370
+ [TOOL_NAMES.GRAPH_ADMIN]: {
371
+ title: "Manage Graph Databases",
372
+ description: GRAPH_ADMIN_BODY,
373
+ params: {
374
+ action: GRAPH_PARAM.action,
375
+ database: GRAPH_PARAM.admin_database,
376
+ collection: GRAPH_PARAM.admin_collection,
246
377
  },
247
378
  },
248
379
  // --- Deprecated aliases ---
@@ -255,6 +386,8 @@ Take the id from hydradb_query or hydradb_list — never guess one. Confirm with
255
386
  max_results: PARAM.max_results,
256
387
  mode: PARAM.mode,
257
388
  graph_context: PARAM.graph_context,
389
+ database: PARAM.database,
390
+ collection: PARAM.collection,
258
391
  },
259
392
  },
260
393
  [TOOL_NAMES.STORE]: {
@@ -264,15 +397,15 @@ Take the id from hydradb_query or hydradb_list — never guess one. Confirm with
264
397
  text: PARAM.text,
265
398
  title: PARAM.title,
266
399
  source_id: PARAM.source_id,
267
- metadata: "Key/value metadata to store with this entry, as {key: value}. These are the " +
268
- "keys hydradb_query's metadata_filters can match on later, so set them when you " +
269
- "expect to narrow by them — e.g. {\"project\": \"hydradb\", \"kind\": \"decision\"}.",
270
- observation_date: "When the fact was true, as an RFC3339 date — distinct from when you stored it. " +
271
- "Use it when saving something historical, so recency reflects the fact rather " +
272
- "than the write.",
400
+ // These two were verbatim copies of the PARAM blurbs. A copy is how the
401
+ // RFC3339 defect would survive being fixed in one place.
402
+ metadata: PARAM.metadata,
403
+ observation_date: PARAM.observation_date,
273
404
  infer: PARAM.infer,
274
405
  is_markdown: PARAM.is_markdown,
275
406
  overwrite: PARAM.overwrite,
407
+ database: PARAM.database,
408
+ collection: PARAM.collection,
276
409
  },
277
410
  },
278
411
  [TOOL_NAMES.INGEST_CONVERSATION]: {
@@ -282,17 +415,25 @@ Take the id from hydradb_query or hydradb_list — never guess one. Confirm with
282
415
  turns: PARAM.turns,
283
416
  source_id: "Source identifier to group all turns from the same session together",
284
417
  user_name: PARAM.user_name,
418
+ database: PARAM.database,
419
+ collection: PARAM.collection,
285
420
  },
286
421
  },
287
422
  [TOOL_NAMES.LIST_MEMORIES]: {
288
423
  title: "List Memories (deprecated)",
289
424
  description: deprecated(TOOL_NAMES.LIST_MEMORIES, LIST_MEMORIES_BODY),
425
+ params: {
426
+ database: PARAM.database,
427
+ collection: PARAM.collection,
428
+ },
290
429
  },
291
430
  [TOOL_NAMES.LIST_SOURCES]: {
292
431
  title: "List Sources (deprecated)",
293
432
  description: deprecated(TOOL_NAMES.LIST_SOURCES, LIST_SOURCES_BODY),
294
433
  params: {
295
434
  source_ids: PARAM.source_ids,
435
+ database: PARAM.database,
436
+ collection: PARAM.collection,
296
437
  },
297
438
  },
298
439
  [TOOL_NAMES.FETCH_CONTENT]: {
@@ -303,6 +444,8 @@ Take the id from hydradb_query or hydradb_list — never guess one. Confirm with
303
444
  mode: PARAM.fetch_mode,
304
445
  offset: PARAM.fetch_offset,
305
446
  limit: PARAM.fetch_limit,
447
+ database: PARAM.database,
448
+ collection: PARAM.collection,
306
449
  },
307
450
  },
308
451
  [TOOL_NAMES.DELETE_MEMORY]: {
@@ -310,6 +453,8 @@ Take the id from hydradb_query or hydradb_list — never guess one. Confirm with
310
453
  description: deprecated(TOOL_NAMES.DELETE_MEMORY, "Delete a specific user memory from Hydra DB by its memory ID. This action is irreversible."),
311
454
  params: {
312
455
  memory_id: PARAM.memory_id,
456
+ database: PARAM.database,
457
+ collection: PARAM.collection,
313
458
  },
314
459
  },
315
460
  };
@@ -333,5 +478,17 @@ THE TOOLS
333
478
 
334
479
  Ids flow between these: ${TOOL_NAMES.QUERY} and ${TOOL_NAMES.LIST} emit them, ${TOOL_NAMES.INSPECT}, ${TOOL_NAMES.DELETE} and ${TOOL_NAMES.STATUS} accept them. Never invent one.
335
480
 
336
- All tools require HYDRADB_API_KEY and HYDRADB_DATABASE in the environment.`;
481
+ THE GRAPH TOOLS (a separate product surface)
482
+
483
+ Hydra DB also runs property graphs the user models and owns end to end, queried in Cypher. These are NOT the same store as the memory and knowledge above, and nothing crosses between them: ${TOOL_NAMES.QUERY} cannot see graph data, and ${TOOL_NAMES.GRAPH_QUERY} cannot see memories.
484
+
485
+ - ${TOOL_NAMES.GRAPH_QUERY} — Cypher, reads and writes alike: traversal, paths, neighbourhoods, aggregation, CREATE/MERGE/SET/DELETE. It can destroy data, so confirm before running anything destructive the user did not ask for.
486
+ - ${TOOL_NAMES.GRAPH_COLLECTIONS} — which graphs exist in a graph database.
487
+ - ${TOOL_NAMES.GRAPH_ADMIN} — create a graph database, drop a collection, drop a database. Irreversible; confirm first.
488
+
489
+ Choose by the question, not the vocabulary: "what has the user told me about X" is ${TOOL_NAMES.QUERY}; "how is X connected to Y in my graph" is ${TOOL_NAMES.GRAPH_QUERY}. If the user has written Cypher, or speaks of nodes, labels, relationships and traversals they themselves created, they mean the graph tools.
490
+
491
+ Working against an unfamiliar collection, discover its structure by querying it — \`MATCH (n) UNWIND labels(n) AS l RETURN l, count(*) AS c ORDER BY l\` — rather than guessing labels, which yields empty results that look like missing data.
492
+
493
+ All tools require HYDRADB_API_KEY and HYDRADB_DATABASE in the environment. The graph tools additionally read HYDRADB_GRAPH_DATABASE and HYDRADB_GRAPH_COLLECTION for their default scope, and can be disabled with HYDRADB_MCP_GRAPH_TOOLS=0.`;
337
494
  //# sourceMappingURL=descriptions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"descriptions.js","sourceRoot":"","sources":["../src/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