Skip to main content
Glama

propose_condition_edit

Propose a pending diff to an existing condition—such as a tag rename, waste %, multiplier, height, or roll setup—for estimator acceptance; current takeoff values stay unchanged until approved.

Instructions

PROPOSE a change to a condition instead of making it (#365): a diff — a new finish tag (rename), waste %, ×N multiplier, height_ft, roll_setup — held PENDING until the estimator accepts it from the panel. edit_condition is the wrong power for "I think this condition is wrong": a tag rename or a knob change should be a decision the estimator makes, not one they discover. Until acceptance NOTHING changes — takeoff_summary and export_report keep computing from the current values and carry the diff beside them (proposed_condition_edits), and once accepted the report is byte-for-byte what a direct edit_condition would have produced (the same write path). Only fields that differ from the current value are recorded; a proposal that changes nothing is refused, and a rename onto a tag another condition already carries is refused (two conditions on one tag would make one unreachable). One pending diff per condition — proposing again replaces the earlier one (undo_last restores it). rationale is required: the estimator accepts a reason.

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": {
      "condition": "<condition>",
      "rationale": "<rationale>"
    },
    "name": "propose_condition_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
drop_ftNoProposed default vertical leg DOWN for the condition's linear runs (#441)
rise_ftNoProposed default vertical leg UP for the condition's linear runs (#441)
conditionYesFinish tag of an EXISTING condition, e.g. 'CPT-1'
height_ftNo
rationaleYesWhy — the schedule row, the spec section, the sheet note that decided it
waste_pctNo
finish_tagNoProposed new tag (a rename)
multiplierNo
roll_setupNoProposed roll-goods setup, or null to propose opting out

Output Schema

NameRequiredDescriptionDefault
noteYes
currentYes
proposedYes
conditionYes
rationaleYes
proposal_idYes
condition_idYes
replaced_proposal_idNoPresent when this proposal replaced an earlier pending one on the same condition

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv0.1.31
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / roll_setup / anyOf
      Previous value: -[
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "additionalProperties": true,
      -    "properties": {},
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "type": "null"
      +  },
      +  {
      +    "additionalProperties": {},
      +    "properties": {},
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / properties / current / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / current / properties / roll_setup / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "properties": {},
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {},
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / proposed / $ref
      Removed value: -"#/properties/current"
    • addedOutput schema / properties / proposed / additionalProperties
      Added value: +{}
    • addedOutput schema / properties / proposed / properties
      Added value: +{
      +  "drop_ft": {
      +    "type": "number"
      +  },
      +  "finish_tag": {
      +    "type": "string"
      +  },
      +  "height_ft": {
      +    "type": "number"
      +  },
      +  "multiplier": {
      +    "type": "number"
      +  },
      +  "rise_ft": {
      +    "type": "number"
      +  },
      +  "roll_setup": {
      +    "anyOf": [
      +      {
      +        "additionalProperties": {},
      +        "properties": {},
      +        "type": "object"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "waste_pct": {
      +    "type": "number"
      +  }
      +}
    • addedOutput schema / properties / proposed / type
      Added value: +"object"
  2. Changed4 schema fields changedv0.1.25
    • addedInput schema / properties / drop_ft
      Added value: +{
      +  "description": "Proposed default vertical leg DOWN for the condition's linear runs (#441)",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / rise_ft
      Added value: +{
      +  "description": "Proposed default vertical leg UP for the condition's linear runs (#441)",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedOutput schema / properties / current / properties / drop_ft
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / current / properties / rise_ft
      Added value: +{
      +  "type": "number"
      +}
  3. Addedv0.1.21

TDQS

A4.8/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does: nothing mutates until acceptance, takeoff_summary and export_report keep computing from current values and surface the diff as proposed_condition_edits, and acceptance produces byte-for-byte the same result as a direct edit_condition. It further discloses refusal conditions (no-op proposal, rename onto a tag another condition already holds), the one-pending-diff-per-condition replacement rule, and that rationale is mandatory.

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?

Effectively front-loaded: the verb and the edit_condition contrast land in the first sentence, with consequences and refusal rules after. Some phrasing is editorial and could be trimmed ('a decision the estimator makes, not one they discover'), but essentially every sentence contributes a behavioral fact.

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

Completeness5/5

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

For a 9-parameter proposal tool with an output schema, the description covers the state model, side effects on sibling reports, the acceptance path, the replacement/undo semantics, and validation failures. An agent can call this correctly and explain to a user what happens next without further reference.

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?

With 67% schema coverage, the description adds real meaning for several parameters: finish_tag is a rename with collision refusal, only fields that differ are recorded, and rationale is required because the estimator accepts a reason. It does not mention drop_ft or rise_ft, which the schema documents separately, leaving a small gap.

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+resource+mode: 'PROPOSE a change to a condition instead of making it', immediately contrasted with edit_condition. The diff contents (finish tag rename, waste %, multiplier, height_ft, roll_setup) make the scope unmistakable and separate it from the many other edit_* siblings.

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 names the alternative ('edit_condition is the wrong power for "I think this condition is wrong"') and states the selection condition: a knob change should be a decision the estimator accepts, not one they discover. It also names the recovery path (undo_last restores a replaced proposal), which covers the when-not case.

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