Skip to main content
Glama
Bytebase MCP

Bytebase MCP

Official

decide_issue

Approve or reject a Bytebase issue at its current approval step after confirming the decision in a form; declining or cancelling leaves it unchanged.

Instructions

Approve or reject a Bytebase issue at its current approval step. The user confirms the decision in this client first.

Parameter

Required

Description

issue

Yes

Issue name, e.g. "projects/hr/issues/42"

decision

Yes

"approve" or "reject"

comment

No

Note recorded with the decision

The tool shows the user what the issue changes and asks them to confirm in a form. It decides only when they accept; declining or cancelling changes nothing. A client that cannot show the form gets the issue's link, to decide it in the Bytebase console instead. Do not ask in chat first: the form is the question.

It decides database changes and access requests. Role requests stay in the Bytebase console, because approving one grants a project role.

The approval rules decide who may approve, as in the console: the user must hold the role of the current step, and approving their own issue, or a plan they last changed, is refused unless the project allows it.

This is the only way to decide an issue over MCP; call_api refuses IssueService/ApproveIssue and RejectIssue.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "issue": "<issue>",
      "decision": "<decision>"
    },
    "name": "decide_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
issueYes
commentNo
decisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses the confirmation-form flow, that declining or cancelling changes nothing, the fallback of returning an issue link when the client cannot render the form, and that approving one's own issue or a plan one last changed is refused unless the project allows it. These are exactly the preconditions and side effects an agent needs before a destructive decision.

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 action, then a compact parameter table, then behavioral rules in short paragraphs — no filler sentences. The table plus prose is slightly long for three parameters, but every section carries information not available elsewhere.

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

Completeness4/5

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

For a mutation tool with no annotations and no output schema, the definition covers permission rules, confirmation behavior, and scope exclusions thoroughly. The one gap is that it never says what comes back on success or refusal, which an agent would want when reporting the outcome.

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

Parameters4/5

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

Schema coverage is 0% and the raw schema has no descriptions or enums, so the markdown table supplies genuine value: requiredness, an example issue path format, and the allowed "approve"/"reject" values plus what comment records. It falls short of 5 only because it does not explain matching, trimming, or alternate issue identifier formats beyond the one example.

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?

Opens with a specific verb pair plus resource and scope: "Approve or reject a Bytebase issue at its current approval step." It further states it handles database changes and access requests while role requests do not go through it, so an agent can distinguish it from siblings like call_api or request_access_grant without reading a 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?

Explicitly says "Do not ask in chat first: the form is the question" and that role requests must stay in the console. It also excludes the alternative route by name, noting call_api refuses IssueService/ApproveIssue and RejectIssue, leaving no ambiguity about which tool to use.

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