Skip to main content
Glama

Compl-AI-ance

internalaudit_upsert_audit

Ein internes Audit planen (ohne id) oder ändern (mit id); remove = true löscht weich. Status planned | in_progress | completed | cancelled — ein abgeschlossenes Audit braucht das Datum der Durchführung und die auditierende Person.

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": "internalaudit_upsert_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
scopeNoUmfang des Audits
titleNo
removeNo
statusNoplanned | in_progress | completed | cancelled
auditorNo
clausesNoKapitel und Maßnahmen, z. B. 4.3, 9.2, A.5.15
summaryNoErgebnis in wenigen Sätzen
planned_atNoJJJJ-MM-TT
performed_atNoJJJJ-MM-TT
standard_keyNoiso_iec_27001 | iso_iec_42001 | … | both
independence_noteNoWie die Unabhängigkeit des Auditors gewahrt ist

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden and does deliver two genuine behavioral facts: remove=true is a SOFT delete (not hard), and a 'completed' audit requires performed_at plus auditor. It does not state permission requirements, whether status transitions are validated (e.g. completed → planned), what a partial update does to omitted fields, or what the response contains.

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?

Two compact clauses: the create/update/delete dispatch is front-loaded, followed by the status/validation constraint. Nearly every phrase earns its place. The status enumeration is partly redundant with the status schema enum, which is minor waste.

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 12-parameter mutation tool with no annotations and no output schema, the definition covers the operation modes and the one hard validation rule, which is the essential core. It remains silent on update/merge semantics, soft-delete recovery, the meaning of standard_key's 'both' option, and independence_note's compliance purpose — noticeable gaps at this parameter count.

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 description coverage is 67%, and the description fills a real gap by explaining the conditional dependency between status='completed' and the performed_at/auditor parameters, plus the semantics of id and remove. It adds meaning beyond the schema for the highest-risk fields. It leaves scope, clauses, standard_key values, and independence_note unelaborated, which keeps it below a 5.

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 names a specific verb and resource ('Ein internes Audit planen ... oder ändern') and splits it into three concrete modes: create (no id), update (with id), and soft-delete (remove=true). It is clearly distinguishable from read-side siblings like internalaudit_get_audit or internalaudit_list_audits, though it does not name an alternative explicitly.

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 is expressed on the parameter level with explicit conditions: omit id to plan, supply id to change, set remove=true to soft-delete. That is actionable routing for all three operations. It stops short of naming a sibling tool or stating prerequisites such as permissions or when a finding/CAPA tool should be used instead.

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