Skip to main content
Glama
az-coder-123

SQL Server MCP

by az-coder-123

search_across_databases

Find tables, columns, or procedures across all databases by keyword, with optional filtering by object type to narrow results.

Instructions

Search for tables, columns, or procedures across all databases by keyword

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordYesSearch keyword
searchInNoWhere to search (default: tables and columns)
Behavior2/5

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

With no annotations provided, the description must disclose behavioral traits. It does not mention read-only safety, potential performance implications of searching across all databases, default behavior when searchIn is omitted (which the schema says defaults to tables and columns, but the description implies all three types), or any result format. This lack of context leaves the agent uncertain about side effects and expectations.

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?

The description is a single, compact sentence that captures the tool's core function efficiently. It avoids redundancy and front-loads the key information: search, across databases, by keyword.

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

Completeness2/5

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

The description is sufficient for a simple search operation but misses critical details. There is no output schema to explain return format, and the description does not state default search scope (tables and columns) or that procedures are only searched if searchIn includes them. This could mislead an agent into thinking all three types are searched by default. Given the tool's cross-database scope, this incompleteness is notable.

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%: 'keyword' is described as 'Search keyword' and 'searchIn' as 'Where to search (default: tables and columns).' The tool description adds little beyond restating the object types (tables, columns, procedures) already present in the enum. It does not clarify formatting, pattern, or case sensitivity. Baseline 3 applies because the schema covers the parameters well.

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?

The description clearly states a specific action ('Search for tables, columns, or procedures') with a defined scope ('across all databases') and mechanism ('by keyword'). This distinguishes it from sibling tools like search_tables, which likely search within a single database, and list_stored_procedures, which lists rather than searches.

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 description implies usage: when users need to search by keyword across all databases and across multiple object types (tables, columns, procedures), this tool is appropriate. However, it does not explicitly mention alternatives or when not to use it, such as directing users to search_tables for single-database searches or list_stored_procedures for listing all procedures.

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/az-coder-123/sql-server-mcp'

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