Skip to main content
Glama

workbench_patch_opening

Edit owned host-wall, opening, and schedule groups in an existing architectural drawing, verify all other entity hashes, and optionally publish a separate copy.

Instructions

Edit owned host-wall/opening/schedule groups and verify all other entity hashes.

Default writes the change back into source_job's existing drawing (job_id is only this
edit's operation key; later edits keep using source_job with the returned revision).
new_copy=true publishes a separate job directory and is only for an explicit user
request to keep the original as a separate file.

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": {
      "job_id": "<job_id>",
      "source_job": "<source_job>",
      "expected_revision": "<expected_revision>",
      "opening_id": "<opening_id>",
      "changes": "<changes>"
    },
    "name": "workbench_patch_opening"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes
changesYes
new_copyNo
opening_idYes
source_jobYes
expected_revisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses that the default is an in-place write to an existing drawing, that job_id is only an operation key while source_job stays the stable target across revisions, and that new_copy publishes a separate job directory. It also implies a concurrency guard by verifying other entity hashes. Still missing are permission requirements, what happens on a hash mismatch, and whether the change is reversible.

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?

The purpose leads, and the default-vs-new_copy behavior follows in priority order with no filler sentences. The parenthetical clarifying job_id is dense but earns its place by preventing the most likely misuse. Slightly long sentences keep it from a 5.

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

Completeness3/5

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

For a 6-parameter mutation tool with an untyped nested 'changes' object, no annotations, and no output schema, the description conveys the write-target model well but leaves the actual edit payload and failure modes undefined. An agent could pick the right job and copy mode yet still not know what shape 'changes' must take.

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 coverage is 0% across 6 parameters, so the description must compensate and only partly does. It explains job_id (operation key only), source_job (persistent write target), expected_revision's role via 'the returned revision', and new_copy's default semantics. However opening_id and the nested free-form 'changes' object receive no explanation, which is the biggest gap for a mutation tool.

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 gives a specific verb and resource scope: editing 'owned host-wall/opening/schedule groups' plus a verification step over 'all other entity hashes'. That is far more distinctive than a generic 'patch' label, though no sibling tool is named to contrast with (e.g. redraw or generate tools in the catalog).

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

Usage Guidelines4/5

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

It clearly resolves the main branch: default writes into source_job's existing drawing, while new_copy=true is reserved for 'an explicit user request to keep the original as a separate file'. That is real when-to-use guidance for the highest-risk decision. It offers no guidance on when this tool applies versus other editing/generation tools, so it stops short of a 5.

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