Skip to main content
Glama
listSpaces.test.ts725 B
import { describe, expect, test } from "bun:test"; import { listSpacesTool } from "./listSpaces.js"; describe("listSpacesTool", () => { test("should have correct metadata", () => { expect(listSpacesTool.name).toBe("capacities_list_spaces"); expect(listSpacesTool.description).toBe( "Get a list of all personal spaces in Capacities", ); expect(listSpacesTool.annotations.readOnlyHint).toBe(true); expect(listSpacesTool.annotations.openWorldHint).toBe(true); expect(listSpacesTool.annotations.title).toBe("List Capacities Spaces"); }); test("should have correct parameter schema", () => { expect(listSpacesTool.parameters).toBeDefined(); expect(typeof listSpacesTool.execute).toBe("function"); }); });

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/Im-Hal-9K/Capacities-MCP-Plus'

If you have feedback or need assistance with the MCP directory API, please join our Discord server