Skip to main content
Glama
sevoniva

OceanBase MCP

by sevoniva

Analyze Query Plan

ob_analyze_query_plan

Run EXPLAIN on read-only SQL statements to generate evidence-based query plan analysis.

Instructions

Run EXPLAIN for a strictly read-only SQL statement and return evidence-based plan findings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sqlYes
paramsNo
maxRowsNo
profileNo
Behavior2/5

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

Mentions read-only but no annotations exist. Lacks disclosure of side effects, permissions, or output format beyond 'evidence-based plan findings'.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence is concise but overly minimal; front-loads main action but omits essential details.

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

Completeness1/5

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

With 4 parameters, no output schema, and no annotations, the description is severely incomplete, lacking parameter explanations and return value details.

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?

Schema coverage is 0%, and description provides no information about any of the 4 parameters (sql, params, maxRows, profile). Fails to add value beyond schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states the tool runs EXPLAIN for read-only SQL and returns plan findings. However, with sibling ob_explain, it could better differentiate the 'evidence-based' analysis aspect.

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?

Indicates use for strictly read-only statements, but does not specify when not to use or suggest alternatives like ob_explain.

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