Skip to main content
Glama

get_workspace

Retrieve company information, offerings, and knowledge schema overview to understand available data in the workspace.

Instructions

Get workspace company info, offerings, and knowledge schema overview. Returns company details (name, industry, size, offerings) and a summary of all knowledge lists with their field definitions and row counts. Use this as a first call to understand what data the workspace has.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registration of the 'get_workspace' MCP tool, including its handler logic which delegates to client.getWorkspace().
        server.tool(
            'get_workspace',
            `Get workspace company info, offerings, and knowledge schema overview.
    Returns company details (name, industry, size, offerings) and a summary of all knowledge lists with their field definitions and row counts.
    Use this as a first call to understand what data the workspace has.`,
            {},
            async (_args, extra) => {
                const client = clientFactory(extra);
                const result = await client.getWorkspace();
                return {
                    content: [{
                        type: 'text' as const,
                        text: JSON.stringify(result, null, 2),
                    }],
                };
            }
        );

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/Agentled/mcp-server'

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