Skip to main content
Glama
devopam

MCPg - Production-grade PostgreSQL MCP Server

Get TurboQuant index metadata

get_turboquant_index_metadata
Read-only

Fetch the tq_index_metadata payload for a single turboquant index, returning fields like algorithm_version, quantizer_family, and maintenance status.

Instructions

Fetch the tq_index_metadata payload for a single turboquant index (schema.index). Documented fields are surfaced as typed attributes; the full upstream payload is preserved in raw_metadata so advisors can reach unanticipated fields. Raises when the extension is not installed or no turboquant index by that name exists. Returns an object with schema, index, algorithm_version, quantizer_family, residual_sketch_kind, fast_path_eligible, capability_flags, delta_state, maintenance_recommended, and raw_metadata (full upstream payload).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYes
schemaYes
databaseNoOptional: target a configured secondary (read-only) database by name; omit for the primary. Call list_databases to see the configured ids.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYes
tableYes
columnYes
schemaYes
opclassNo
input_typeNo
operabilityYes
capabilitiesYes
raw_metadataYes
access_methodNo
delta_enabledNo
heap_relationNo
index_optionsYes
delta_head_blockNo
delta_live_countNo
delta_page_depthNo
delta_tail_blockNo
delta_live_fractionNo
delta_batch_page_countNo
delta_merge_thresholdsYes
delta_merge_recommendedNo
heap_live_rows_estimateNo
Behavior4/5

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

Annotations indicate read-only. Description adds behavioral details: it raises on missing conditions, preserves raw_metadata for unanticipated fields, and lists the returned typed attributes. No contradiction with annotations.

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?

Three sentences: first states purpose, second adds behavioral context, third lists return fields. Front-loaded and efficient. Minor room for improvement in condensing the return field list, but overall concise.

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

Completeness5/5

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

Given the existence of an output schema and the tool's simplicity, the description covers purpose, error conditions, and return structure comprehensively. The mention of raw_metadata adds completeness for handling unanticipated fields.

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

Parameters2/5

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

Schema description coverage is low (33%); only the 'database' parameter has a description. The description mentions schema and index names in the context of the index identifier but does not provide additional semantics, formatting, or examples for the parameters beyond the schema types.

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?

Clearly states the verb 'fetch', the resource 'tq_index_metadata for a single turboquant index', and the scope 'by schema and index name'. Distinguishes from siblings like list_turboquant_indexes and get_turboquant_heap_stats by focusing on metadata retrieval for a single index.

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?

Provides context on when the tool raises errors (extension not installed or index not found). Implicitly guides use for metadata retrieval versus listing all indexes, but does not explicitly state alternatives or when not to use.

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

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/devopam/MCPg'

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