Skip to main content
Glama

capacities_list_spaces

Read-only

Retrieve a list of personal spaces within Capacities knowledge management system to organize and access information efficiently.

Instructions

Get a list of all personal spaces in Capacities

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The execute function that performs the API request to /spaces endpoint, parses the JSON response, and returns it as a formatted string. Handles errors by throwing a descriptive error.
    execute: async () => {
    	try {
    		const response = await makeApiRequest("/spaces");
    		const data = await response.json();
    		return JSON.stringify(data, null, 2);
    	} catch (error) {
    		throw new Error(
    			`Failed to list spaces: ${error instanceof Error ? error.message : String(error)}`,
    		);
    	}
    },
  • Zod schema defining the tool parameters as an empty object, indicating the tool takes no input arguments.
    parameters: z.object({}),
  • src/server.ts:24-24 (registration)
    The line where the listSpacesTool is registered with the FastMCP server.
    server.addTool(listSpacesTool);

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

Related Tools

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/jem-computer/capacities-mcp'

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