Skip to main content
Glama
Strom-Capital

mcp-server-db2i

List Indexes

list_indexes
Read-onlyIdempotent

Lists all indexes for a specific table, including uniqueness and column details. Uses the default schema if none is provided.

Instructions

List all indexes for a specific table including uniqueness and column information. Uses the system's default schema if not provided.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYesTable name to list indexes for
schemaNoSchema (library) name containing the table. Uses the system's default schema if not provided.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
countNo
errorNo
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds only what the listing contains (uniqueness, column info), which is largely redundant with the existing output schema.

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?

Two short sentences, front-loaded with the core action. Nothing is padded or repeated, and the secondary default-schema note is appropriately placed at the end.

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

Completeness4/5

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

For a read-only listing tool with full annotation coverage, a complete output schema, and fully documented parameters, the description is essentially sufficient. It omits any hint about result size or indexing edge cases, but nothing required to invoke it correctly is missing.

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?

Schema description coverage is 100%, so both parameters are already documented in the schema. The description's note about the default schema duplicates the schema text for the 'schema' parameter and adds no new syntax or format detail, so the baseline 3 applies.

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?

States a specific verb and resource ('List all indexes for a specific table') plus the scope of returned fields (uniqueness, column information). It is clearly distinct from siblings like describe_table or get_table_constraints, though it does not name an alternative explicitly.

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 never says when to prefer this tool over siblings such as get_table_constraints or describe_table, nor does it give any exclusions. The only conditional statement concerns the optional schema parameter's default, which is usage of a parameter rather than guidance on tool selection.

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