Skip to main content
Glama
GreptimeDB MCP Server

GreptimeDB MCP Server

Official
by GreptimeTeam

delete_pipeline

Deletes a specific pipeline version from GreptimeDB; irreversible and only allowed when the server runs with write mode enabled.

Instructions

Delete a specific version of a pipeline from GreptimeDB.

Irreversible, and refused unless the server runs with write mode enabled.

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": {
      "name": "<name>",
      "version": "<version>"
    },
    "name": "delete_pipeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the pipeline to delete
versionYesVersion of the pipeline to delete (timestamp)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.6.2
    • addedInput schema / properties / name / description
      Added value: +"Name of the pipeline to delete"
    • addedInput schema / properties / version / description
      Added value: +"Version of the pipeline to delete (timestamp)"
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "delete_pipelineOutput",
      -  "type": "object"
      -}New value: +null
  2. Addedv0.5.0

TDQS

A4/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 burden and does well on the two highest-stakes traits: it declares the operation irreversible and names the server-side precondition (write mode) that causes refusal. It stops short of disclosing other likely behaviors such as not-found handling, auth requirements, or whether deleting a version affects running pipelines.

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?

Two short sentences, front-loaded with the action and scope, followed immediately by the risk/precondition. No redundant restatement of the schema and nothing extraneous.

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 two-parameter destructive tool with no annotations and no output schema, the description covers the essentials an agent needs before calling: what is removed, that it cannot be undone, and the server-mode precondition. It is only slightly incomplete in omitting error/not-found behavior and dependency impact.

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

Parameters3/5

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

Schema description coverage is 100%, with both 'name' and 'version' documented including the timestamp format, so the schema does the heavy lifting. The description's only added signal is 'specific version', which reinforces that version is a required discriminator but adds no syntax or format detail beyond the schema.

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 with scope: 'Delete a specific version of a pipeline from GreptimeDB.' The 'specific version' qualifier distinguishes it from a hypothetical whole-pipeline delete and from sibling delete_dashboard, so an agent knows exactly what resource granularity this operates on.

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?

Provides one hard gating condition ('refused unless the server runs with write mode enabled'), which tells the agent when the call will fail, but gives no guidance on when to prefer this over alternatives (e.g., removing all versions or using list_pipelines first to confirm the version). Usage is implied by the name rather than explained.

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