Skip to main content
Glama

Update risk

update_risk
DestructiveIdempotent

Change a risk in the register: any of description, impact, likelihood, owner, mitigation plan and due date, state (open, mitigating, closed), new target date and slip reason; the rest stay. Pass baseUpdatedAt (the risk's updatedAt from list_risks) to refuse the change if someone edited it since. Returns { risk }. Needs the roadmap's Risk tracking switch (Roadmap features) and edit access. Needs read-and-change access.

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": {
      "roadmapId": "<roadmapId>",
      "riskId": "<riskId>"
    },
    "name": "update_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNoNew state: open, mitigating or closed
impactNoImpact if it happens: low, medium or high
riskIdYesRisk id from list_risks
ownerIdNoMember id; null for no owner
roadmapIdYesRoadmap id
likelihoodNoHow likely it is: low, medium or high
mitigationNoMitigation plan; null clears it
slipReasonNoWhy it slipped; null clears it
descriptionNoWhat could go wrong
baseUpdatedAtNoThe updatedAt you last saw
mitigationDueNoMitigation due date, YYYY-MM-DD; null clears it
newTargetDateNoNew target date, YYYY-MM-DD; null clears it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true, readOnly=false, so the safety profile is covered; the description still adds meaningful context: unspecified fields are preserved, baseUpdatedAt enables optimistic-concurrency rejection of stale edits, and the return payload is { risk }. It does not explicitly note that null values clear mitigation/slipReason/newTargetDate (deferred to the schema) or discuss failure modes beyond the concurrency check.

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 mutation scope and field list are front-loaded, and the concurrency semantics come before the access requirements, so the reader hits the most important information first. The two closing access sentences are somewhat redundant ('edit access' then 'read-and-change access'), and the semicolon-chained field list is dense but still parseable.

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?

For a 12-parameter mutation with no output schema, it covers what an agent needs: partial-update behavior, the concurrency token's origin and effect, the return shape, and the feature/access gates. Minor gaps remain around clearing semantics and what the returned risk contains, but no blocking information is missing.

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 100%, so the schema already documents every parameter including null-clearing semantics and date patterns; the baseline is 3. The description adds some meaning by grouping the mutable fields and explaining baseUpdatedAt's purpose ('the risk's updatedAt from list_risks' and the refusal behavior), but does not go beyond the schema on enum values or format specifics.

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 opens with a specific verb and resource ('Change a risk in the register') and enumerates which fields are mutable, making the partial-update nature explicit ('the rest stay'). It does not explicitly contrast itself with record_risk (create) or list_risks (read), beyond citing list_risks as the source of updatedAt, so sibling differentiation is only partial.

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?

It states prerequisites (Roadmap Risk tracking switch, edit access, read-and-change access) and a conditional pattern (pass baseUpdatedAt to refuse a stale write), which is real when-to-use guidance. However, it never says when to use record_risk instead or when not to call this, so the alternative-selection guidance is implied rather than stated.

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