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",
            },
          ],
        };
      }
    );
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions 'Get all tables', which implies a read-only operation, but doesn't specify whether it requires authentication, has rate limits, returns paginated results, or handles errors. For a tool with zero annotation coverage, this leaves significant behavioral aspects unclear.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence with no wasted words, making it highly concise and front-loaded. It efficiently communicates the core functionality without unnecessary elaboration, which is ideal for a simple tool like this.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read operation with one parameter and no output schema, the description is adequate but lacks depth. It covers the basic purpose but misses behavioral details like response format or error handling. Without annotations or an output schema, the description should ideally provide more context about what 'Get all tables' entails, but it meets the minimum viable threshold.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, with the single parameter 'database' clearly documented in the schema. The description adds no additional meaning beyond what the schema provides, as it doesn't elaborate on parameter usage or constraints. Given the high schema coverage, the baseline score of 3 is appropriate, as the description doesn't compensate but also doesn't need to.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Get') and resource ('all tables in the database'), making the tool's purpose immediately understandable. It's specific enough to distinguish it from potential siblings like 'get-table' or 'create-table', though no actual siblings exist in this context. The description avoids tautology by not just restating the name 'get-tables'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives, prerequisites, or contextual constraints. It simply states what the tool does without indicating scenarios where it's appropriate or inappropriate. Since there are no sibling tools mentioned, the lack of differentiation is less critical, but overall usage guidance is minimal.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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

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