Skip to main content
Glama

Compl-AI-ance

risks_upsert

Ein Risiko im Art.-9-Log anlegen (ohne id) oder ändern (mit id); remove = true löscht weich. Wahrscheinlichkeit und Schwere von 1 bis 5, vulnerable Gruppen aus dem Regelwerk, Status open | in_progress | closed. Ohne Review-Datum gilt die Frist aus dem Regelwerk.

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": {
      "system_id": "<system_id>"
    },
    "name": "risks_upsert"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
ownerNo
titleNo
removeNo
statusNoopen | in_progress | closed
severityNo1–5
review_atNoJJJJ-MM-TT
system_idYes
likelihoodNo1–5
descriptionNo
residual_noteNoWas trotz Maßnahmen bleibt — geht in die Gebrauchsanweisung (Art. 13)
residual_severityNo1–5
vulnerable_groupsNoSchlüssel aus risk_log.vulnerableGroups
measures_technicalNo
residual_likelihoodNo1–5
measures_organisationalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose genuinely useful behavior: deletion is soft, missing `review_at` inherits a rulebook deadline, and likelihood/severity/status are bounded. It does not disclose what an update does to fields that are omitted (merge vs. overwrite), whether writes require a specific role, or what the call returns, which are material for a 16-parameter mutation tool.

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?

Three dense clauses, front-loaded with the create/update/delete switch before the field-level constraints. Every clause carries information and there is no filler, though the telegraphic semicolon style and undefined terms like 'Regelwerk' cost some readability.

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?

For a 16-parameter, annotation-free mutation tool with no output schema, the description covers the highest-risk semantics (upsert switch, soft delete, defaults) but leaves partial-update behavior, required-field obligations, permissions, and return values unaddressed. It is adequate to start a call but not complete enough to call confidently.

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 only 50%, and the description compensates for part of that: `id` toggles create/update, `remove` means soft delete, `vulnerable_groups` must come from the rulebook, and `review_at` has a default fallback. But roughly half the parameters (owner, title, description, measures_technical, measures_organisational, residual_*) get no semantic treatment anywhere, and the required `system_id` is never mentioned.

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+resource and clarifies the upsert semantics precisely: create without `id`, update with `id`, and `remove = true` performs a soft delete. That is far more than a restatement of the name. It loses a point because a sibling named isms_upsert_risk exists and the description never distinguishes the Art.-9 risk log from that other risk write tool.

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 is implied rather than stated: the presence/absence of `id` and the `remove` flag are effectively inline routing rules, and the rulebook-default for missing `review_at` tells the agent it may omit that field. However, there is no explicit when-to-use versus the isms_upsert_risk or risks_list siblings, and no stated prerequisites such as required permissions or when a soft-deleted risk can be revived.

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