Skip to main content
Glama

Compl-AI-ance

qms_upsert_procedure

Ein QMS-Verfahren anlegen oder ändern: key aus dem Katalog (z. B. testing, corrective_actions) oder ohne key ein eigenes Verfahren mit Titel. Status missing | draft | in_force — ein geltendes Verfahren braucht eine verantwortliche Person. remove = true löscht weich.

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

Input Schema

NameRequiredDescriptionDefault
keyNo
urlNo
ownerNo
titleNo
removeNo
statusNomissing | draft | in_force
review_atNoJJJJ-MM-TT
descriptionNo
document_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two valuable behaviors: deletion is soft (weich), and an in_force status requires a responsible person. However, with 9 optional parameters and no required ones, it never says whether omitted fields are preserved or cleared on update, nor what permissions or response to expect.

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 paragraph that front-loads the create-or-update purpose and then the mode-selection rules, with no filler. The telegraphic phrasing is efficient, though a little more structure would aid scanning.

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 9-parameter mutation tool with no annotations and no output schema, the description covers the primary flows (catalog vs. custom, status rule, soft delete) but leaves several parameters and all return behavior unexplained. It is adequate to start a call but not complete enough to predict the outcome 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 22%, so the description must compensate, and it does add real meaning for key (catalog identifier with examples), title (custom procedure), owner (mandatory when status is in_force), and remove (soft delete). It says nothing about url, description, document_id, or review_at beyond what the schema already provides.

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 pair (anlegen oder ändern, i.e. create-or-update) and a specific resource (QMS-Verfahren), so the upsert semantics are unambiguous. It does not name or contrast with qms_list_procedures, so sibling differentiation is left to the reader.

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 clearly branches the two operating modes: pass a catalog key (testing, corrective_actions) to use a predefined procedure, or omit the key and supply a title for a custom one; remove=true selects soft deletion. There is no explicit when-not guidance or routing to the sibling list tool, which keeps it below 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