Skip to main content
Glama
GreptimeDB MCP Server

GreptimeDB MCP Server

Official
by GreptimeTeam

create_pipeline

Create and store a new versioned pipeline in GreptimeDB from YAML configuration, enabling data processing workflows when write mode is enabled.

Instructions

Create a new pipeline in GreptimeDB.

Stores a new version of the pipeline; it does not replace existing ones. 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>",
      "pipeline": "<pipeline>"
    },
    "name": "create_pipeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the pipeline to create
pipelineYesPipeline configuration in YAML format

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 create"
    • addedInput schema / properties / pipeline / description
      Added value: +"Pipeline configuration in YAML format"
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "create_pipelineOutput",
      -  "type": "object"
      -}New value: +null
  2. Addedv0.5.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does disclose two non-obvious traits: the operation is version-appending rather than replacing, and it is gated on server write mode. It does not state what is returned (e.g., a version identifier) or whether names must be unique, but the mutation semantics and failure condition are well covered for a tool of this size.

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?

Three short sentences, front-loaded with the purpose and followed by the two facts that affect invocation (versioning, write-mode gate). No filler wording; every sentence carries information the agent needs.

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 creation tool with no output schema, the description covers the essential behavior and the gating precondition. The remaining gap is the recommendable dry-run workflow and any error semantics for malformed YAML or duplicate names.

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 'pipeline' documented, so the baseline is 3. The description adds nothing about parameter meaning — notably no constraints on pipeline name uniqueness or on YAML validity — so it neither compensates nor detracts.

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?

The description uses a specific verb and resource ('Create a new pipeline in GreptimeDB') and clarifies the write semantics ('Stores a new version of the pipeline; it does not replace existing ones'), which meaningfully separates it from delete_pipeline and list_pipelines. It stops short of naming dryrun_pipeline as the validation counterpart, so the differentiation is behavioral rather than explicit.

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?

It supplies a real precondition — creation is 'Refused unless the server runs with write mode enabled' — which tells the agent when the call will fail. However, there is no guidance on when to prefer this over dryrun_pipeline for validating a YAML config before persisting it, leaving the main alternative unaddressed.

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