Skip to main content
Glama

Record risk

record_risk

Record a risk on an item or milestone in the roadmap's risk register (for example when it slipped past its plan or is overdue). Impact and likelihood default to medium, state to open, and the owner to the item's owner. 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>",
      "itemId": "<itemId>",
      "description": "<description>"
    },
    "name": "record_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNoStarting state (default open)
impactNoImpact if it happens: low, medium or high (default medium)
itemIdYesItem or milestone id from get_roadmap
ownerIdNoWorkspace member userId from list_workspace_members; null for no owner
roadmapIdYesRoadmap id
likelihoodNoHow likely it is: low, medium or high (default medium)
mitigationNoMitigation plan
slipReasonNoWhy it slipped
descriptionYesWhat could go wrong
mitigationDueNoMitigation due date, YYYY-MM-DD
newTargetDateNoNew target date, YYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), the description discloses field defaults (impact/likelihood medium, state open, owner inherited from the item), the return shape ({ risk }), and the two gating requirements — the Risk tracking feature switch and edit/read-and-change access. Those defaults and prerequisite flags are exactly the behavioral facts an agent cannot get from the schema or annotations, and nothing conflicts with the declared write semantics.

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 definition is dense and front-loaded: purpose first, then defaults, then return shape, then prerequisites. The closing 'Needs the roadmap's Risk tracking switch (Roadmap features) and edit access. Needs read-and-change access.' is slightly redundant phrasing but not wasteful enough to obscure the content.

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 an 11-parameter mutation with no output schema, the description supplies the missing pieces: what it creates, what the defaults are, what it returns, and what access/feature gating applies. Only minor gaps remain — no mention of duplicate-risk behavior or of update_risk as the edit path — which keeps it at a strong 4 rather than 5.

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 the schema already states the defaults for state, impact, and likelihood and points to get_roadmap and list_workspace_members for ids. The description's default-value sentence largely restates schema content rather than adding format, ordering, or constraint detail, so baseline 3 applies.

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 — 'Record a risk on an item or milestone in the roadmap's risk register' — plus concrete triggering scenarios (slipped past plan, overdue). It never names the sibling update_risk, which handles modifying an existing risk, so the boundary between creating and updating a risk is left to the agent to infer.

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?

Usage context is explicit: the example parenthetical tells the agent which situations warrant recording a risk, and prerequisites (Risk tracking switch, edit access, read-and-change access) tell it when the call will fail. There is no explicit when-not or named alternative such as update_risk, so this 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources