Skip to main content
Glama

Update Workorder Observation

updateObservation
DestructiveIdempotent

Edit an observation's note text or related workorder link; clear the link when needed while omitted fields stay unchanged.

Instructions

Edit an observation's text or related-workorder link.

Set clear_related_workorder=true to remove the link. Omitting related_workorder_id leaves it unchanged.

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": {
      "observation_id": "<observation_id>"
    },
    "name": "updateObservation"
  }
}

Input Schema

NameRequiredDescriptionDefault
observationNoNew note text; omit to leave unchanged.
observation_idYesNumeric observation ID.
related_workorder_idNoNew related workorder; omit or null to leave unchanged.
clear_related_workorderNoSet true to remove the existing related-workorder link.

Output Schema

NameRequiredDescriptionDefault
created_atYes
updated_atYes
observationYes
workorder_idYes
observation_idYes
related_workorder_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true, so the safety profile is covered. The description adds real behavioral context beyond them: that updates are partial (omitting a field leaves it unchanged) and that the related-workorder link can be removed via clear_related_workorder. It does not state whether replacing the text overwrites the previous note irreversibly, which is the main residual gap for a destructive tool.

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, purpose front-loaded, followed by the clearing rule and the omission rule. Nothing is padded and no sentence is wasted.

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?

With an output schema present and annotations covering safety and idempotency, the description need only cover mutation semantics, which it does well (partial update, explicit clear flag). It stops short of stating overwrite/irreversibility of the note text or any failure mode for an invalid observation_id, which keeps it from being fully complete.

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%, and each parameter already carries the 'omit to leave unchanged' semantics, so the description largely restates the schema. It does add a small amount of value by naming the clear_related_workorder=true case explicitly and by pairing it with the omission rule, but no format, constraint, or interaction detail (e.g. what happens if both are supplied) is clarified.

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?

The description opens with a specific verb and resource ('Edit an observation's text or related-workorder link'), which alone separates it from addObservation, listObservations, and the workorder-level updateWorkorder sibling. An agent can tell what is being mutated and on which entity without reading the schema.

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?

Usage context is only implied: it is clearly the tool for changing an existing observation rather than creating one, but no alternative is named and no precondition (e.g. observation must already exist, or use addObservation for new notes) is stated. What guidance exists is aimed at the parameters (clearing the link, omitting fields) rather than at when to pick this tool.

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