Skip to main content
Glama
andrewlwn77
by andrewlwn77

get_base_info

Retrieve detailed information about a specific NocoDB base or project by providing its ID to access configuration, structure, and metadata.

Instructions

Get detailed information about a specific base/project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
base_idYesThe ID of the base/project

Implementation Reference

  • The handler function that fetches detailed information about a specific NocoDB base using the provided base_id and returns structured base details.
    handler: async (client: NocoDBClient, args: { base_id: string }) => {
      const base = await client.getBase(args.base_id);
      return {
        base: {
          id: base.id,
          title: base.title,
          status: base.status,
          created_at: base.created_at,
          updated_at: base.updated_at,
        },
      };
    },
  • Input schema defining the required base_id parameter as a string.
    inputSchema: {
      type: "object",
      properties: {
        base_id: {
          type: "string",
          description: "The ID of the base/project",
        },
      },
      required: ["base_id"],
    },
  • Tool definition registered in the databaseTools array.
    {
      name: "get_base_info",
      description: "Get detailed information about a specific base/project",
      inputSchema: {
        type: "object",
        properties: {
          base_id: {
            type: "string",
            description: "The ID of the base/project",
          },
        },
        required: ["base_id"],
      },
      handler: async (client: NocoDBClient, args: { base_id: string }) => {
        const base = await client.getBase(args.base_id);
        return {
          base: {
            id: base.id,
            title: base.title,
            status: base.status,
            created_at: base.created_at,
            updated_at: base.updated_at,
          },
        };
      },
    },
  • src/index.ts:55-62 (registration)
    Combines all tool sets including databaseTools into allTools, which is used for MCP tool listing and execution.
    const allTools = [
      ...databaseTools,
      ...tableTools,
      ...recordTools,
      ...viewTools,
      ...queryTools,
      ...attachmentTools,
    ];

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/andrewlwn77/nocodb-mcp'

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