Skip to main content
Glama
gong-yeongbin

@dudqls816/database-mcp

읽기 전용 쿼리

query
Read-only

Run a single read-only SELECT query against Microsoft SQL Server, binding parameters by @name. Prevents writes and multiple statements, returning up to specified rows.

Instructions

SELECT 문 하나를 실행합니다. 여러 문장, 쓰기, EXEC 는 거부됩니다. 파라미터는 @이름 형태로 쓰고 params 로 값을 넘기세요. 파라미터는 값만 바인딩할 수 있어 테이블명이나 컬럼명에는 쓸 수 없습니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sqlYes실행할 SELECT 문 하나
paramsNo@이름 파라미터에 바인딩할 값
maxRowsNo반환할 최대 행 수. 기본값 1000
Behavior4/5

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

Annotations already provide readOnlyHint=true, and the description adds that multiple statements, writes, and EXEC are rejected, reinforcing the read-only nature. It also clarifies the parameter binding limitation, which is useful context beyond the annotation.

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 two sentences long, front-loaded with the main action ('Run a single SELECT statement'), and then provides restrictions. Every sentence contributes information with no filler.

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?

The description covers the tool's purpose, constraints, and parameter binding, which is sufficient for a read-only query tool. It doesn't describe the return format, but the lack of an output schema makes this less critical. The schema and annotations cover safety and parameter details.

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

Parameters4/5

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

The input schema covers 100% of parameters, but the description adds valuable semantics by explaining the @name syntax and that params can only bind values, not table or column names. This complements the schema descriptions.

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 'SELECT 문 하나를 실행합니다' (executes a single SELECT statement), specifying the verb, resource, and scope. It distinguishes the tool from sibling tools like list_tables and describe_table, which focus on metadata.

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?

The description provides explicit constraints: multiple statements, writes, and EXEC are rejected, and parameters can only bind values, not identifiers. This gives clear guidance on when to use the tool, though it doesn't explicitly mention alternative tools for non-query scenarios.

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/gong-yeongbin/database-mcp'

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