Skip to main content
Glama

db_query_index

Index database queries and components from Karate feature files. Search by project, keyword, link status, and include components to locate SQL and DB references.

Instructions

Build/search DB query and DB component index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_nameYesName of the registered project.
queryNoOptional DB keyword filter.
limitNoMaximum items to return.
include_componentsNoInclude DB feature/executor components besides raw SQL nodes.
link_statusNoOptional comma-separated filter: linked, orphan, component, demo, or default.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior1/5

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

No annotations are provided, so the description must disclose behavioral traits (e.g., read vs write, side effects, required permissions). The single phrase 'Build/search' is insufficient; it does not clarify if the tool modifies state or is read-only.

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

Conciseness2/5

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

Extremely concise (5 words) but at the cost of essential detail. It lacks structure and fails to front-load critical information. While brevity is valued, it omits necessary context for an agent to use the tool correctly.

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

Completeness1/5

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

Given the tool has 5 parameters, a complex feature set (building/searching an index), and no annotations or output schema details in the description, it is severely incomplete. The description does not explain how parameters work together, what the index contains, or expected return type.

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%, providing baseline. The description adds no additional meaning beyond what the parameter descriptions already state. For example, it does not explain how 'query' interacts with 'include_components' or 'link_status'.

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

Purpose3/5

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

The description 'Build/search DB query and DB component index' is vague and fails to distinguish the tool from siblings like 'search_db_usage' or 'query_dependencies'. It does not specify whether it builds or searches primarily, and lacks a clear verb-resource combination.

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?

No guidance on when to use this tool instead of alternatives. No mention of prerequisites, exclusions, or scenarios where it is not appropriate.

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/duyngo91/karate-graph-mcp'

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