Skip to main content
Glama

Get index analysis

get_index_analysis
Read-onlyIdempotent

Return the index analysis of this NET Genium instance as JSON, read-only — the same data as the Indexes report. For pid, pform and every database control it tells whether an index is configured and how many times the column is used in joins (join_conditions), in query and AutoSum conditions (conditions, autosum_conditions) and in filters (filters). Columns used in a join without an index are flagged missing_index and are the ones worth fixing first. Only the configuration made in NET Genium is analysed — queries written in external functions, services and hand-written SQL are not covered.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_index_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
missing_onlyNoOptional: 'true' returns only the columns flagged missing_index. Omit to get all indexed or used columns, which is the full picture but a much larger result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the 'read-only' restatement adds little. What does add value is the explicit coverage boundary — external functions, services and hand-written SQL are not analysed — plus the explanation of what the missing_index flag means, which prevents misinterpretation of the results.

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?

Front-loaded with the core action and return format, then builds outward to field meanings, the actionable flag, and finally the scope limitation. Every sentence carries information an agent would otherwise have to guess.

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?

With no output schema, the description correctly takes on the burden of describing returned fields (join_conditions, conditions, autosum_conditions, filters, missing_index), making it sufficient for interpretation. It could go slightly further on the shape/nesting of the JSON response, but for a single optional parameter tool this is close to complete.

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%, and the single parameter's trade-off ('a much larger result') is already spelled out in the schema itself. The description body never mentions missing_only, so it adds no meaning beyond the structured field; baseline 3 applies.

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

Purpose5/5

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

States a specific verb and resource ('Return the index analysis of this NET Genium instance as JSON') and pins down exactly what is reported per pid, pform and database control, including the named output fields. The statement that it only covers NET Genium configuration, not external SQL, further sharpens the scope against anything else in the catalog.

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

Usage Guidelines4/5

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

Gives clear context for when this is the right tool: finding columns used in joins without an index, which are 'the ones worth fixing first', and it anchors the output to the familiar Indexes report. It stops short of naming an alternative sibling (e.g. get_data_model for schema structure), so routing is inferred rather than explicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources