Skip to main content
Glama
MCP Velocity GraphQL Server

MCP Velocity GraphQL Server

by mrchris2000

update_stage

Update a pipeline stage's name or description by pipeline and stage ID. Use it to revise stage details in Velocity release planning workflows.

Instructions

Update a stage in a pipeline using the updateStage mutation.

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": {
      "pipelineId": "<pipelineId>",
      "stageId": "<stageId>",
      "updates": "<updates>"
    },
    "name": "update_stage"
  }
}

Input Schema

NameRequiredDescriptionDefault
stageIdYesStage ID
updatesYesUpdateStageInput
pipelineIdYesPipeline ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden of behavioral disclosure and falls short. It does not say whether the update is partial or full replacement (the nested updates object supports only name/description), whether omitted fields are preserved or cleared, what permissions are required, whether the change is reversible, or what happens if the stage does not exist.

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?

A single short sentence with the resource front-loaded, so there is no filler or buried lede. The only wasted words are "using the updateStage mutation", which restates the tool name in GraphQL terms and helps no agent.

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

Completeness2/5

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

For a three-required-parameter mutation with a nested input object, no annotations, and no output schema, one sentence is not enough. The agent is left without return semantics, error behavior for unknown stage IDs, or the partial-vs-full update contract, all of which matter for a write operation.

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%, including descriptions for pipelineId, stageId, and the nested name/description fields, so the schema already does the heavy lifting. The description adds no meaning beyond it — it never mentions that updates is a partial input object or how stageId and pipelineId interact.

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 names a specific verb and resource ("Update a stage in a pipeline"), so the agent knows exactly what the tool mutates. It does not distinguish itself from siblings such as add_stage, delete_stage, or update_workflow, and the trailing "using the updateStage mutation" adds an implementation detail rather than scope clarity.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus add_stage, delete_stage, or update_workflow, and no stated preconditions (e.g., stage must already exist, pipelineId must be valid). The agent must infer everything about selection from the name alone.

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