Skip to main content
Glama

Add Workorder Observation

addObservation

Attach durable context or notes to a workorder for future work, optionally linking a related workorder to record structured cross-workorder references.

Instructions

Attach durable context to a workorder.

Use related_workorder_id to record a structured cross-workorder reference.

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": {
      "workorder_id": "<workorder_id>",
      "observation": "<observation>"
    },
    "name": "addObservation"
  }
}

Input Schema

NameRequiredDescriptionDefault
observationYesDurable context for future work.
workorder_idYesWorkorder receiving the note, such as C-4.
related_workorder_idNoOptional workorder whose work informs this note, such as A-1.

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

B3.4/5.0
Behavior3/5

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

Annotations already declare this is a non-destructive, non-idempotent mutation, so the safety profile is covered. The description adds that the content is 'durable context for future work', which hints at persistence, but it does not warn that non-idempotent calls can create duplicate observations or describe permission requirements.

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?

Two short sentences with no filler, and the core action is front-loaded. The trailing newline and the slightly orphaned second sentence keep it from being a model of tight structure, but nothing is wasted.

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?

With annotations covering the mutation profile and an output schema present, the description need not explain return values. It is still thin for a write tool: it omits idempotency consequences and any constraints on the 20k-character observation body, leaving the agent to rely entirely on structured fields.

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%, so all three parameters are already documented in the schema, establishing a baseline of 3. The description reinforces the intent of related_workorder_id as a 'structured cross-workorder reference', which adds a small amount of meaning about relationship semantics beyond the schema's example.

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 concrete verb and resource ('Attach durable context to a workorder'), which is more specific than the title's 'Add Workorder Observation'. It implicitly contrasts with updateObservation by framing the action as attaching new context, though it never names that sibling explicitly.

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?

The second sentence explains when to reach for related_workorder_id, which is genuine conditional guidance. However, there is no guidance on when to use this tool versus updateObservation or listObservations, and no mention of prerequisites or when not to add an observation.

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