Skip to main content
Glama
litoralcreativo

Informix MCP Server

get-tables

Retrieve a list of all tables within a specified Informix database using the MCP server, simplifying database exploration and table inspection.

Instructions

Get all tables in the database

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
databaseYesThe database to get the tables from

Implementation Reference

  • main.ts:20-29 (handler)
    The handler function for the 'get-tables' tool that returns a static text response indicating tables in the database.
    async ({ database }) => { return { content: [ { type: "text", text: "Tables in the database", }, ], }; }
  • main.ts:17-19 (schema)
    Input schema defining the 'database' parameter for the 'get-tables' tool.
    { database: z.string().describe("The database to get the tables from"), },
  • main.ts:14-30 (registration)
    Registration of the 'get-tables' tool on the MCP server.
    server.tool( "get-tables", // title "Get all tables in the database", // description { database: z.string().describe("The database to get the tables from"), }, async ({ database }) => { return { content: [ { type: "text", text: "Tables in the database", }, ], }; } );

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/litoralcreativo/informix-mcp'

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