Skip to main content
Glama
MySQL MCP Server

MySQL MCP Server

by berthojoris

get_fulltext_info

Read-onlyIdempotent

Retrieve FULLTEXT index details for a MySQL table, including index names, indexed columns, and parser settings, to discover which full-text indexes exist.

Instructions

Retrieves information about FULLTEXT indexes on a table including index names, columns, and parser details. Use this to discover what fulltext indexes exist on a table.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "table_name": "<table_name>"
    },
    "name": "get_fulltext_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
databaseNoOptional: specific database name
index_nameNoOptional: specific index name to query (default: all indexes)
table_nameYesName of the table

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.46.0

TDQS

A3.5/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 a closed-world scope, so the safety profile is fully covered. The description usefully discloses what information is returned (index names, columns, parser details), but says nothing about result size, ordering, or behavior when the table has no fulltext indexes.

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

Conciseness4/5

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

Two short sentences with the key content (what is returned) front-loaded. The second sentence is close to a restatement of the first, which is mild redundancy but not harmful.

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 simple, fully annotated read tool with complete schema descriptions and no output schema, the definition covers purpose, target object, and return content adequately. The main missing piece is sibling differentiation against the other index-related tools.

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 coverage is 100%, so all three parameters are already documented, including the optional index_name defaulting to all indexes. The description adds only the notion of table scoping and does not clarify how database or index_name interact with the returned data, 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?

Names a specific verb and resource ('Retrieves information about FULLTEXT indexes on a table') and enumerates the returned fields (index names, columns, parser details). It does not distinguish itself from near-siblings such as get_index_info, list_indexes, or get_fulltext_stats, so an agent must infer the boundary.

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

Usage Guidelines3/5

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

The sentence 'Use this to discover what fulltext indexes exist on a table' gives an implied usage context, but it largely restates the purpose. There is no guidance on when to prefer get_fulltext_stats (stats) or get_index_info/list_indexes (general index metadata) instead.

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