Skip to main content
Glama

Compl-AI-ance

internalaudit_raise_capa

Aus einer bestehenden Nichtkonformität eines Audits die Korrekturmaßnahme im Log anlegen und an der Feststellung vermerken — höchstens einmal je Feststellung.

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": {
      "finding_id": "<finding_id>"
    },
    "name": "internalaudit_raise_capa"
  }
}

Input Schema

NameRequiredDescriptionDefault
ownerNo
due_atNoJJJJ-MM-TT
finding_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose two side effects: a log entry is created and the finding itself is annotated, plus a uniqueness constraint that implies a duplicate call for the same finding is rejected. It does not say what error or response a duplicate produces, nor what permissions are required.

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?

A single dense sentence with no filler; the source, the action, the side effect and the uniqueness constraint all earn their place. It is compact but reads as one long clause chain rather than being front-loaded.

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 mutation tool with no annotations and no output schema, the description covers the core operation, its prerequisite and its uniqueness rule, but leaves owner/due_at meaning and duplicate-call behavior unexplained. Adequate but with clear gaps.

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

Parameters2/5

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

Schema coverage is only 33%, with just due_at documented as JJJJ-MM-TT. The description implies finding_id must reference an existing nonconformity finding, which adds some meaning, but owner and due_at semantics are left entirely to the schema and description respectively.

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 states a specific verb and resource: create the corrective action (CAPA) in the log from an existing audit nonconformity, and annotate the finding. It is clear what is created and from what source, though it does not explicitly distinguish itself from the sibling capa_upsert_entry.

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?

It states the prerequisite (the nonconformity must already exist) and an explicit limit — 'at most once per finding' — which tells the agent when not to call it again. It does not name an alternative tool for the case where a CAPA already exists or when a standalone entry is wanted.

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