Skip to main content
Glama

Compl-AI-ance

isms_upsert_risk

Ein Risiko im Risikoregister des Managementsystems anlegen (ohne id) oder ändern (mit id); remove = true löscht weich. Wahrscheinlichkeit und Auswirkung von 1 bis 5, Behandlung mitigate | accept | avoid | transfer, controls sind Maßnahmen aus Anhang A der Norm (standard_key, Vorgabe ISO/IEC 27001). Nicht an die Rolle am KI-System gebunden — anders als risks_upsert (Art.-9-Log für Anbieter).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "isms_upsert_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
ownerNoRisikoeigentümer — Pflicht bei Status accepted
titleNo
impactNo1–5
removeNo
statusNoopen | in_treatment | accepted | closed
threatNoBedrohung
controlsNoMaßnahmen der Erklärung zur Anwendbarkeit, z. B. A.5.15, A.8.24
asset_idsNoids aus dem Werteregister
review_atNoJJJJ-MM-TT
treatmentNomitigate | accept | avoid | transfer
likelihoodNo1–5
descriptionNo
ai_system_idNoOptional: betroffenes KI-System (jede Rolle)
standard_keyNoNorm der Maßnahmen, Vorgabe iso_iec_27001
residual_noteNo
vulnerabilityNoSchwachstelle
treatment_planNoPlan zur Risikobehandlung
residual_impactNo1–5
residual_likelihoodNo1–5

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description must carry behavioral weight and does disclose meaningful traits: deletion is soft ('löscht weich'), mutation occurs only via id presence, and value domains (1–5, mitigate|accept|avoid|transfer) are constrained. Gaps remain on permissions/authorization and on what a partial update does to omitted fields, which matters for a 20-parameter mutation.

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?

Roughly two sentences front-loading create/update/delete semantics, then value domains, then the sibling disambiguation. Every clause carries information; nothing is redundant for a tool with 20 parameters.

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 20-parameter upsert with no annotations and no output schema, the description covers the core lifecycle and key domains but omits partial-update/merge behavior, permission requirements, and what the call returns. Adequate to call correctly in the common case, but not complete for a mutation of this size.

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

Parameters4/5

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

Schema coverage is already 75%, so the baseline is 3; the description adds genuine meaning beyond it by tying controls to Annex A measures of the standard with standard_key defaulting to ISO/IEC 27001, and by restating the 1–5 scale and treatment vocabulary. It does not clarify the interaction between status values and required fields (owner for accepted), which stays schema-only.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Ein Risiko im Risikoregister des Managementsystems anlegen') and precisely defines upsert semantics: create without id, modify with id, soft-delete with remove=true. It also distinguishes itself from the sibling risks_upsert by declaring it is not bound to the AI-system role, so an agent can separate the two tools without opening either schema.

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?

The when-to-use routing is explicit: omit id to create, supply id to update, set remove=true to delete. It also names the alternative risks_upsert and the condition that selects it (Art. 9 log for providers, role-bound). It stops short of saying when not to record a risk here at all (e.g. asset-level vs. system-level scoping), but the practical routing is clear.

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