mcp-sql-server
Server Quality Checklist
Latest release: v0.1.0
- Disambiguation5/5
The three tools are clearly distinct: one lists tables, one describes a table's schema, and one executes queries. There is no overlap or ambiguity between these purposes.
Naming Consistency5/5All tools follow a consistent verb_noun pattern: list_tables, describe_table, run_query. The naming convention is uniform and predictable.
Tool Count3/5Three tools for a read-only SQL database server is reasonable but leans toward the thin end. It covers the core needs of exploration (list/describe) and execution (query), though additional tools like schema versioning or metadata for indexes could add value.
Completeness5/5For a read-only SQL exploration server, the surface is complete: discover tables (list_tables), inspect structures (describe_table), and query data (run_query). There are no dead ends in the typical agent workflow of exploring and analyzing a database.
Average 3.4/5 across 3 of 3 tools scored.
See the Tool Scores section below for per-tool breakdowns.
- No community issues in the last 6 months
- 12 commits in the last 12 weeks
- No stable releases found
- No critical vulnerability alerts
- No high-severity vulnerability alerts
- No code scanning findings
- CI is passing
This repository is licensed under MIT 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
- Behavior2/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. However, it doesn't mention whether this is a read-only operation, whether it requires specific permissions, what happens if the table doesn't exist, or what the return format looks like beyond 'columns and types'. For a schema-inspection tool the behavioral surface is fairly simple, but there's still no error-handling or permission context disclosed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness4/5Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single clean sentence with zero wasted words. It front-loads the core purpose clearly. It's appropriately concise, though it could use its brevity budget to add behavioral or parameter detail.
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 simple single-parameter introspection tool with an output schema present, the description tells the agent essentially what it needs: inspect the columns and types of a table. The output schema presumably documents the return shape. Given the low complexity, the description is near-complete, though adding guidance differentiating from run_query would fully close the loop.
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 0%, so the description must compensate for the single parameter. The description does mention 'a given table' linking to table_name, but it doesn't specify constraints like whether it must be an existing table, case-sensitivity, or schema-qualified naming format. With only one simple parameter, the description adds modest value over the schema.
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 'Show the columns and their types for a given table' clearly states the verb (show), resource (columns/types of a table), and the singular parameter. It distinguishes reasonably from siblings (list_tables lists tables, run_query executes queries), though it doesn't explicitly call out the differentiation.
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 (inspecting table schema before querying) but provides no explicit when-to-use or when-not-to-use guidance, nor does it name alternatives like list_tables for discovering available tables or run_query for custom inspection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior2/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It does state read-only and that it returns results, but doesn't document behaviors like whether multiple statements are allowed, statement timeouts, row-count limits, or error behavior for invalid SQL. With zero annotation coverage, this is a notable gap.
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?
A single sentence, zero wasted words. Every element earns its place: the action, the nature (read-only), the resource (business database), and the output (returns results). Optimal length for the information conveyed.
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?
There is an output schema present, so return-value documentation isn't required from the description. With 1 simple parameter and clear sibling context, the core task is adequately described. However, given zero annotations, some additional guidance about error handling or result-set behavior (e.g., max rows) would improve completeness for a database query tool.
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?
There's only 1 parameter (sql) with 0% schema description coverage. The description mentions 'SQL SELECT query' which tells the agent the sql parameter should contain a SELECT statement, adding some value over the bare schema. However, it doesn't clarify format nuances (e.g., semicolons, parameterization, quoting) beyond what a user would naturally infer.
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 (run), resource (SQL SELECT query), and scope (read-only, business database). It distinguishes from siblings by specifying it's a SELECT query that returns results, while siblings list/describe tables. However, it could more explicitly note it differs from the schema-related tools.
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 'read-only' qualifier gives some usage guidance (safe to call, won't mutate data), and returning "results" implies it's for data retrieval. However, it doesn't explicitly state when to use this vs describe_table or list_tables, nor does it disclose any limits (large queries, timeouts, multi-statement restrictions).
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?
No annotations are provided, so the description carries some burden. 'List all tables' conveys a non-destructive read operation, which aligns with the sibling context. However, it doesn't disclose what information is returned per table (just names? schemas? row counts?), pagination limits, or whether permissions are needed. With no annotations at all, slightly more disclosure would be valuable, but the safe-read nature is reasonably conveyed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness4/5Is the description appropriately sized, front-loaded, and free of redundancy?
A single, complete sentence with zero waste. Could arguably be considered slightly under-specified, but for a zero-parameter discovery tool, this length is appropriate and front-loaded with the essential verb-resource structure.
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 tool with 0 parameters, an output schema, and a simple list-and-return purpose, the description is adequately complete. It explains the key behavior (returns all table names) and the schema and output schema handle the rest. A bit more detail on what fields are returned per table might elevate it, but as-is it's sufficient for the tool's simplicity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters4/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has 0 parameters, and schema coverage is 100% (trivially, since there are no properties). The baseline for 0 parameters is 4 per the rubric. The description doesn't need to add parameter meaning since none exist, and there's no ambiguity to resolve.
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?
Description clearly states the action (list all tables) and resource (business database). While it doesn't explicitly distinguish from siblings, the tool names are self-explanatory enough that list_tables vs describe_table vs run_query are obviously distinct. Could note specifics about what 'all tables' includes (e.g., system tables, schemas) but the core purpose is clear.
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 it's the discovery entry point (list tables before describing or querying), and the sibling names naturally establish context. However, there's no explicit when-to-use guidance or mention that this is the precursor to using describe_table or run_query. The guidance is implied by the tool name and sibling set rather than stated.
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/batuhansutculer/mcp-sql-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server