Skip to main content
Glama

Update safety incident

update_safety_incident
Idempotent

Partially update a safety incident — only provided fields change. Setting status to 'closed' stamps closed_at automatically if not provided.

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": {
      "incident_id": "<incident_id>"
    },
    "name": "update_safety_incident"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
statusNo
agent_idNo
locationNo
severityNo
closed_atNo
descriptionNo
incident_idYes
reported_byNo
incident_dateNo
incident_typeNo
involved_personsNo
corrective_actionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the mutation profile (readOnly=false, destructive=false, idempotent=true, openWorld=false), so the bar is lower. The description adds genuine behavioral context the annotations cannot convey: partial-update semantics and the automatic closed_at stamping side effect when status='closed'. It does not say what happens to omitted fields on close, whether closed_at can be overridden, or whether changes are audited.

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 short sentences, front-loaded with the partial-update behavior and followed by the one non-obvious side effect. No filler, no repetition of the title.

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

Completeness2/5

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

For a 13-parameter mutation tool with no output schema and no schema descriptions, the definition explains only two parameters' behavior and nothing about the response. An agent could call it, but would be guessing on most field semantics and on what the returned object contains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 13 parameters, so the description carries the full burden of parameter meaning. It only addresses the status/closed_at interaction and says nothing about severity, incident_type, agent_id, involved_persons, corrective_action, or the three enum parameter vocabularies beyond what the schema literally lists.

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?

States a specific verb (partially update) and resource (safety incident), and the 'only provided fields change' clause makes the PATCH-style semantics explicit, which distinguishes it from create_safety_incident. It does not explicitly name siblings, but the name plus verb makes intent unambiguous.

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 phrase 'partially update ... only provided fields change' implicitly tells the agent this is for modifying an existing incident with a partial payload, rather than full replacement. There is no explicit when/when-not guidance, no prerequisites (e.g. required permissions), and no pointer to alternatives such as create_safety_incident or list_safety_incidents.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources