Skip to main content
Glama
Bytebase MCP

Bytebase MCP

Official

search_api

Discover Bytebase API endpoints and schemas before making calls, so you can select valid services and operations without guessing.

Instructions

Discover Bytebase API endpoints. Always call before call_api - never guess schemas.

Mode

Parameters

Result

List

(none)

All services

Browse

service="SQLService"

All endpoints in service

Details

operationId="SQLService/Query"

Request/response schema

Schema

schema="Instance"

Message type definition

Workflow: search_api() → search_api(service="...") → search_api(operationId="...") → call_api(...)

The results also name what no MCP session can do, whatever the workspace's MCP mode and the user's permissions, and why: those are done in the Bytebase console.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
schemaNo
serviceNo
operationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does add real behavioral context: results explicitly surface capabilities no MCP session can perform, regardless of MCP mode or user permissions, and point to the console. It stops short of stating that the tool is itself side-effect free / requires no authorization and says nothing about result size or error behavior, which keeps it below a 5.

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

Conciseness4/5

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

Front-loaded with the imperative rule, then a compact table, then the workflow chain — every element earns its place. The closing sentence about what no MCP session can do is informative but syntactically tangled and slightly harder to parse than the rest.

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

Completeness5/5

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

There is no output schema, and the description compensates by describing what each mode returns (service list, endpoint list, request/response schema, message definition). For a 3-optional-parameter discovery tool, nothing an agent needs in order to call it correctly is missing.

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

Parameters5/5

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

Schema coverage is 0%, so the description must compensate, and it does: the table names each of the three parameters (service, operationId, schema), shows sample values ('SQLService', 'Instance'), and states what each returns. That is more than the schema conveys and fully covers the 3-parameter surface.

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?

States a specific verb and resource ('Discover Bytebase API endpoints') and immediately separates itself from the sibling call_api ('Always call before call_api'). An agent can tell what this tool does and what it does not do without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit rule ('Always call before call_api - never guess schemas') and a mode table that maps each parameter to the situation that selects it. The workflow line (search_api() → service → operationId → call_api) removes any ambiguity about ordering.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.