Skip to main content
Glama
sevoniva

OceanBase MCP

by sevoniva

Lint SQL

ob_lint_sql

Lint read-only SQL to check policy, dialect, pagination, ordering, sensitive fields, and optional EXPLAIN risk without returning data.

Instructions

Lint read-only SQL for policy, dialect, pagination, ordering, sensitive fields, and optional EXPLAIN risk without returning data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sqlYes
paramsNo
maxRowsNo
profileNo
runExplainNo
Behavior3/5

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

The description discloses that the tool is read-only and does not return data, and mentions optional EXPLAIN risk. However, with no annotations present, the description should provide more detail about side effects, errors, or performance implications. It gives basic behavioral intent but lacks depth.

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, well-structured sentence that front-loads the core purpose and key aspects. It is concise with no unnecessary words.

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?

Given 5 parameters, no output schema, and a large sibling set, the description is too brief. It does not explain what the lint output looks like or how parameters affect behavior. The agent would likely need additional information to use it effectively.

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

Parameters1/5

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

With 0% schema description coverage, the description fails to explain any of the five parameters (sql, params, maxRows, profile, runExplain). Only 'runExplain' is hinted at via 'optional EXPLAIN risk'. The add minimal value, leaving the agent to guess parameter meanings.

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 that the tool lints read-only SQL for multiple aspects (policy, dialect, pagination, ordering, sensitive fields) and optionally checks EXPLAIN risk without returning data. This specific verb+resource combination distinguishes it from siblings like ob_explain, ob_policy_explain, and ob_convert_sql_dialect.

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 for read-only SQL linting without data return, but does not explicitly state when to use this tool versus alternatives like ob_explain for query plans or ob_policy_explain for policy analysis. No exclusions or context are provided, leaving the agent to infer appropriate use.

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/sevoniva/oceanbase-mcp'

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