From f887bd66e537556602467e8d6068a5ec72b90892 Mon Sep 17 00:00:00 2001 From: Prasanna A P <106952318+Prasanna721@users.noreply.github.com> Date: Mon, 15 Jun 2026 23:28:02 -0700 Subject: [PATCH] mcp: rename listContainerTags tool to listSpaces (consumer-facing) Consumers think in "spaces", not "container tags". Renames the tool to listSpaces and updates its description + text output to say "spaces". Internal plumbing is unchanged: the client method listContainerTags() and the structuredContent.containerTags key (widget contract) keep their names. --- apps/mcp/src/server/tools/list-container-tags.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/mcp/src/server/tools/list-container-tags.ts b/apps/mcp/src/server/tools/list-container-tags.ts index 0ec2cf4e..73c069ac 100644 --- a/apps/mcp/src/server/tools/list-container-tags.ts +++ b/apps/mcp/src/server/tools/list-container-tags.ts @@ -2,10 +2,10 @@ import type { ToolDeps } from "./types" export function register(deps: ToolDeps) { deps.server.registerTool( - "listContainerTags", + "listSpaces", { description: - "List available container tags for organizing memories. Returns name, identifier, emoji, document/memory counts, and last activity time per tag. The API auto-filters this list to tags the caller has access to.", + "List the spaces available to you. Spaces are the workspaces you organize memories into — returns each space's name, identifier, emoji, document/memory counts, and last activity. The list is auto-filtered to spaces you have access to.", inputSchema: {}, }, async () => { @@ -17,7 +17,7 @@ export function register(deps: ToolDeps) { content: [ { type: "text" as const, - text: "No container tags found.", + text: "No spaces found.", }, ], } @@ -33,7 +33,7 @@ export function register(deps: ToolDeps) { content: [ { type: "text" as const, - text: `Available container tags:\n${lines.join("\n")}`, + text: `Available spaces:\n${lines.join("\n")}`, }, ], structuredContent: { containerTags: tags },