Skip to main content
Glama

Compl-AI-ance

policy_advance_step

Den aktuellen Schritt der offenen Version abschließen und zum nächsten gehen (step = Ziel): board_review, works_council, management_approval, published. Kein Schritt wird übersprungen. Board-Prüfung und Veröffentlichung nur mit policy.approve; der Betriebsratsschritt braucht works_council = consulted (mit Vermerk) oder none („kein Betriebsrat vorhanden“) — ohne ihn wird die Veröffentlichung abgelehnt.

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": {
      "step": "<step>"
    },
    "name": "policy_advance_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoai (Vorgabe, KI-Richtlinie) | information_security (Informationssicherheitspolitik nach ISO/IEC 27001, 5.2)
noteNoVermerk zum abgeschlossenen Schritt
stepYesboard_review | works_council | management_approval | published
version_idNo
works_councilNoconsulted | none — Pflicht beim Verlassen des Betriebsratsschritts

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does substantial work: it discloses enforced ordering (no skipping), an authorization gate (policy.approve) for two specific steps, a data precondition (works_council value plus a note) at the works-council step, and the concrete failure outcome ('wird die Veröffentlichung abgelehnt'). It stops short of saying whether the call is idempotent, what it returns, or what happens if the open version is missing or already published.

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?

The definition is front-loaded with the action and the valid targets, then layered with gates, and essentially every clause carries information an agent needs. The final sentence is dense and runs several clauses together, but no sentence is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an unannotated mutation tool with five parameters and no output schema, the description covers the hard parts: step ordering, authorization, and the precondition that otherwise blocks publication. The remaining gap is resolution behavior – which open version is affected when version_id is omitted and what a successful advance returns – but the workflow-blocking details an agent must know before calling are present.

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 80%, so the baseline is 3; the description goes beyond it by explaining the ordering semantics of 'step' (target state, not source) and the cross-parameter dependency that 'works_council' must be supplied when leaving the works-council step, with the 'none' case explicitly glossed as 'kein Betriebsrat vorhanden'. 'version_id' and 'kind' receive no treatment in the description, leaving which version is advanced and how the policy type is chosen unexplained.

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 definition names a specific verb and resource ('Den aktuellen Schritt der offenen Version abschließen und zum nächsten gehen') and enumerates the exact target states (board_review, works_council, management_approval, published), which makes the state-machine nature unambiguous. It never references a sibling tool, so an agent gets no explicit routing contrast even though none of the listed siblings appears to duplicate this advance-step action.

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 gives clear preconditions for invoking: only the next step is allowed ('Kein Schritt wird übersprungen'), board review and publication require policy.approve, and the works-council step requires works_council = consulted or none. What is missing is negative routing – no statement of which sibling to use when the caller actually wants to edit a section, create a draft, or read the current version 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