Skip to main content
Glama
Meteor-Simulation

BULC MCP

Official

Spr update pipe

spr_update_pipe
Idempotent

Update properties of an existing pipe: diameter, standard, Hazen-Williams C, line number, and inline valves, including open/closed state, tags, and zones.

Instructions

Update properties of an existing pipe: diameter, pipe standard (C resets to the standard default), Hazen-Williams C, line number, and the inline valve list (replaces all valves; [] removes them; valveDetails sets open/closed, tag, zone). For many pipes use spr_set_pipes; to open/close one valve use spr_set_valves. [bulc-mcp rules] SPR-008, SPR-005, SPR-016 — bulc_knowledge_search ""

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesPipe ID
lineNoNoLine number ("" removes it)
valvesNoReplace the inline valves on this pipe: gate_valve | butterfly_valve | check_valve | alarm_valve | globe_valve | angle_valve ([] = none)
cFactorNoHazen-Williams C used by the hydraulic calculation (e.g. 100 dry black steel, 120 wet steel, 150 CPVC/stainless)
diameterNoNew nominal diameter (mm)
materialNoPipe standard id (schedule included). Building: KSD3507 | CPVC | STS304 | ASTM_SCH40. Marine/plant: JIS_G3454_STPG_SCH40/SCH80, KS_D3562_SPPS_SCH40/SCH80, JIS_G3452_SGP, JIS_G3459_SUS_SCH10S/SCH40, ASTM_A53_A106_SCH40/SCH80, DIN86019_CUNI10FE (CuNi 90/10), … (enum). C resets to the standard default unless cFactor is given.
valveDetailsNoValves with state: [{type, open (false = closed → pipe excluded), tag (e.g. WS-11U), zone (zone valve: open only in "all" and that zone), position 0..1}]. Overrides valves.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already carry readOnly=false, idempotent=true, destructive=false, so the safety profile is set. The description adds real value beyond them: the valve list replaces all valves, [] removes them, valveDetails overrides and carries open/closed state, and C resets to the standard default unless cFactor is given. These are non-obvious mutation semantics not encoded in annotations.

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 dense sentences: the mutation is front-loaded, then the alternatives. Every clause earns its place by specifying a distinct field's behavior; no padding.

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 7-parameter mutation tool with no output schema but full schema description coverage, the description covers the mutation semantics, the reset rule, and the sibling routing. Minor gaps remain around permissions/prerequisites, but nothing an agent needs to invoke it correctly is missing.

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 100%, so the baseline is 3, but the description adds meaning beyond the schema: the C-resets-to-standard-default rule, the replace-all-versus-append semantics of the valves list, and that valveDetails overrides valves. That is more than merely restating 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 (Update) and resource (existing pipe) and enumerates the mutable properties: diameter, pipe standard, Hazen-Williams C, line number, and the inline valve list. It further distinguishes itself from siblings by explicitly naming spr_set_pipes and spr_set_valves, so an agent can tell it apart without opening any 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 routes: bulk edits go to spr_set_pipes, single-valve open/close goes to spr_set_valves. The when-to-use-this vs alternatives is stated rather than implied, leaving little to inference.

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

Deploy Server

Other Tools