Database Query MCP Server
Server Quality Checklist
Latest release: v1.0.0
- Disambiguation5/5
Each tool has a clearly distinct purpose targeting a specific database system (MSSQL, MySQL, Oracle, PostgreSQL). There is no ambiguity or overlap since each tool is dedicated to a different database technology, making tool selection straightforward for agents based on the target system.
Naming Consistency5/5All tool names follow a perfectly consistent verb_noun pattern: 'query_' followed by the database name (e.g., query_mssql, query_mysql). This uniform naming convention makes the tools predictable and easy to understand, with no deviations in style or structure.
Tool Count4/5With 4 tools, the count is reasonable for a database query server covering multiple systems. It might be slightly thin if additional database types (e.g., SQLite) are expected, but it effectively covers major databases without being overwhelming, making it well-scoped for its purpose.
Completeness3/5The server provides read-only query capabilities for multiple databases, which is a clear and focused domain. However, there are notable gaps: it lacks write operations (e.g., insert, update, delete) and administrative functions (e.g., schema management, connection testing), limiting agents to read-only workflows and potentially causing failures for broader database tasks.
Average 3.6/5 across 4 of 4 tools scored.
See the Tool Scores section below for per-tool breakdowns.
- No community issues in the last 6 months
- 9 commits in the last 12 weeks
- No stable releases found
- No critical vulnerability alerts
- No high-severity vulnerability alerts
- No code scanning findings
- CI status not available
This repository is licensed under ISC License.
This repository includes a README.md file.
No tool usage detected in the last 30 days. Usage tracking helps demonstrate server value.
Tip: use the "Try in Browser" feature on the server page to seed initial usage.
Add a glama.json file to provide metadata about your server.
If you are the author, simply .
If the server belongs to an organization, first add
glama.jsonto the root of your repository:{ "$schema": "https://glama.ai/mcp/schemas/server.json", "maintainers": [ "your-github-username" ] }Then . Browse examples.
Add related servers to improve discoverability.
How to sync the server with GitHub?
Servers are automatically synced at least once per day, but you can also sync manually at any time to instantly update the server profile.
To manually sync the server, click the "Sync Server" button in the MCP server admin interface.
How is the quality score calculated?
The overall quality score combines two components: Tool Definition Quality (70%) and Server Coherence (30%).
Tool Definition Quality measures how well each tool describes itself to AI agents. Every tool is scored 1–5 across six dimensions: Purpose Clarity (25%), Usage Guidelines (20%), Behavioral Transparency (20%), Parameter Semantics (15%), Conciseness & Structure (10%), and Contextual Completeness (10%). The server-level definition quality score is calculated as 60% mean TDQS + 40% minimum TDQS, so a single poorly described tool pulls the score down.
Server Coherence evaluates how well the tools work together as a set, scoring four dimensions equally: Disambiguation (can agents tell tools apart?), Naming Consistency, Tool Count Appropriateness, and Completeness (are there gaps in the tool surface?).
Tiers are derived from the overall score: A (≥3.5), B (≥3.0), C (≥2.0), D (≥1.0), F (<1.0). B and above is considered passing.
Tool Scores
- Behavior3/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, and idempotentHint=false. The description adds the read-only mode context ('只读模式'), which reinforces but doesn't significantly expand beyond annotations. It doesn't disclose additional behavioral traits like rate limits, authentication needs beyond parameters, or error handling.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness5/5Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence in Chinese that directly states the tool's purpose and key constraint ('只读模式'). It's front-loaded with no unnecessary words, making it highly concise and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness3/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (database querying with 6 required parameters), annotations cover safety aspects (read-only, non-destructive), but there's no output schema. The description is minimal and doesn't explain return values, error cases, or connection behavior. It's adequate but lacks depth for a tool with significant operational context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters3/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with all parameters well-documented in the input schema. The description doesn't add meaningful parameter semantics beyond what's already in the schema, such as format examples or constraints. Baseline 3 is appropriate since the schema carries the full burden.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose4/5Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('执行MSSQL数据库查询') and resource ('MSSQL数据库'), specifying it's for read-only operations. It distinguishes from siblings by mentioning MSSQL specifically, though it doesn't explicitly contrast with other database query tools like query_mysql or query_oracle.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines3/5Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for MSSQL database queries in read-only mode, but doesn't provide explicit guidance on when to use this tool versus alternatives like query_mysql or query_oracle. No exclusions or prerequisites are mentioned beyond the read-only constraint.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior3/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds value beyond annotations by specifying '只读模式' (read-only mode), which aligns with the readOnlyHint=true annotation. However, it doesn't provide additional behavioral context such as connection handling, timeout behavior, result format, or error conditions. With annotations covering safety (readOnlyHint=true, destructiveHint=false), the description meets the lower bar but doesn't enrich understanding significantly.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness5/5Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise with a single sentence that efficiently communicates the core purpose and constraint. It's front-loaded with no wasted words, making it easy for an AI agent to parse quickly. Every part of the sentence earns its place by specifying the action, target, and operational mode.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness3/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (6 required parameters for database connection and query execution), the description is minimal. While annotations provide safety information (readOnlyHint=true, destructiveHint=false) and the schema fully documents parameters, there's no output schema and the description doesn't explain what the tool returns (e.g., result sets, error formats). For a database query tool, this leaves gaps in understanding the complete behavior.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters3/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description doesn't add any parameter-specific information beyond what's already in the input schema, which has 100% description coverage. It mentions 'MySQL数据库查询' (MySQL database query) but doesn't explain individual parameters like host, port, or querySql. With high schema coverage, the baseline score of 3 is appropriate as the schema carries the full burden of parameter documentation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose4/5Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('执行' - execute) and resource ('MySQL数据库查询' - MySQL database query), and specifies the operational mode ('只读模式' - read-only mode). It distinguishes from siblings by mentioning MySQL specifically, though it doesn't explicitly contrast with other database types like MSSQL, Oracle, or PostgreSQL.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines3/5Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context by specifying '只读模式' (read-only mode) and the input schema further clarifies that SQL queries should be '仅支持SELECT等只读操作' (only support SELECT and other read-only operations). However, it doesn't explicitly state when to use this tool versus the sibling database tools (query_mssql, query_oracle, query_postgresql), nor does it provide any exclusion criteria beyond the read-only constraint.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior3/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, destructiveHint=false, etc., covering safety aspects. The description adds the read-only mode context ('只读模式') and specifies SQL query constraints ('仅支持SELECT等只读操作'), which provides useful behavioral context beyond annotations, though it doesn't detail rate limits, error handling, or output format.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness5/5Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence in Chinese that directly states the tool's purpose and key constraint ('只读模式'). It's front-loaded with no unnecessary words, making it highly concise and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness3/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (6 required parameters for database queries) and lack of output schema, the description is adequate but minimal. It covers the read-only nature and PostgreSQL focus, but doesn't explain return values, error cases, or connection handling, leaving gaps for an AI agent to infer.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters3/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema fully documents all 6 parameters. The description doesn't add any parameter-specific semantics beyond what's in the schema, such as format details or examples. Baseline score of 3 is appropriate as the schema handles the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose4/5Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('执行PostgreSQL数据库查询') and resource ('PostgreSQL数据库'), specifying it's for read-only operations. It distinguishes from siblings by mentioning PostgreSQL specifically, though it doesn't explicitly contrast with other database types like MySQL or Oracle.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines3/5Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for PostgreSQL read-only queries but doesn't provide explicit guidance on when to use this tool versus the sibling tools (query_mssql, query_mysql, query_oracle). No alternative tools or exclusions are mentioned beyond the read-only constraint.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior4/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already provide readOnlyHint=true, destructiveHint=false, openWorldHint=false, and idempotentHint=false. The description adds valuable context by specifying '只读模式' (read-only mode) and implying Oracle-specific behavior. While it doesn't detail rate limits, authentication needs beyond parameters, or result formats, it usefully reinforces the read-only constraint beyond what annotations alone convey.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness5/5Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence in Chinese: '执行Oracle数据库查询(只读模式)'. It's front-loaded with the core purpose and includes the critical 'read-only mode' qualification. There's zero wasted verbiage or redundant information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness4/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a database query tool with 6 parameters, 100% schema coverage, and annotations covering safety (readOnlyHint=true, destructiveHint=false), the description is reasonably complete. It specifies the database type (Oracle) and read-only mode. The main gap is lack of output schema, but the description doesn't need to explain return values. It could better differentiate from sibling tools but covers essential context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters3/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with all 6 parameters well-documented in the input schema (e.g., host, port, user, pwd, db, querySql). The description adds no additional parameter information beyond what's in the schema. With complete schema coverage, the baseline score of 3 is appropriate as the description doesn't need to compensate for gaps.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose4/5Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose as '执行Oracle数据库查询(只读模式)' which translates to 'Execute Oracle database query (read-only mode)'. This specifies both the verb (execute query) and resource (Oracle database), and distinguishes it from non-database tools. However, it doesn't explicitly differentiate from sibling database query tools (query_mssql, query_mysql, query_postgresql) beyond specifying Oracle.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines3/5Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context through '只读模式' (read-only mode) and the input schema's querySql description specifies '仅支持SELECT等只读操作' (only supports SELECT and other read-only operations). However, there's no explicit guidance on when to use this tool versus the sibling database tools, nor any mention of prerequisites or alternative scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
GitHub Badge
Glama performs regular codebase and documentation scans to:
- Confirm that the MCP server is working as expected.
- Confirm that there are no obvious security issues.
- Evaluate tool definition quality.
Our badge communicates server capabilities, safety, and installation instructions.
Card Badge
Copy to your README.md:
Score Badge
Copy to your README.md:
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/xuejike/coding-db-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server