Skip to main content
Glama

Zorqelio — Data Reliability for AI Agents

quality_policy_publish

Idempotent

Publish a new immutable policy version. Pin expectedCurrentVersion to prevent overwriting a concurrent update. Publishing invalidates unclaimed handoffs pinned to the old version. Reuse operationId only for exact retries. Example: invoke quality_policy_publish with the required arguments shown in its input schema; use the workspace or resource credentials issued by Zorqelio, never placeholder credentials in production.

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": {
      "workspaceToken": "<workspaceToken>",
      "policyId": "<policyId>",
      "expectedCurrentVersion": "<expectedCurrentVersion>",
      "rules": "<rules>",
      "operationId": "<operationId>"
    },
    "name": "quality_policy_publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
rulesYesQuality policy rules encoded as JSON text.
policyIdYesUnique identifier of the quality policy.
operationIdYesStable unique request identifier. Reuse it only for an exact retry.
workspaceTokenYesSecret API token for the workspace; keep it private.
expectedCurrentVersionYesCurrent version number expected before updating; prevents conflicting writes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / expectedCurrentVersion / description
      Added value: +"Current version number expected before updating; prevents conflicting writes."
    • addedInput schema / properties / operationId / description
      Added value: +"Stable unique request identifier. Reuse it only for an exact retry."
    • addedInput schema / properties / policyId / description
      Added value: +"Unique identifier of the quality policy."
    • addedInput schema / properties / rules / description
      Added value: +"Quality policy rules encoded as JSON text."
    • addedInput schema / properties / workspaceToken / description
      Added value: +"Secret API token for the workspace; keep it private."
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive, so safety is partly covered. The description adds substantive behavior beyond that: versions are immutable, concurrent writes are rejected via optimistic concurrency, and publishing invalidates unclaimed handoffs pinned to the old version. The trailing sentence about Zorqelio credentials is generic filler but doesn't contradict anything.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first three sentences are front-loaded and each carries information about immutability, concurrency, and side effects. The final "Example: invoke ... never placeholder credentials in production" sentence is boilerplate that says nothing concrete and dilutes the definition.

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 a mutating, non-destructive, idempotent tool with no output schema, the description covers the consequential behaviors an agent needs: immutability, conflict handling, idempotency key discipline, and handoff invalidation. It omits return value and any note on rules validation, but the core calling requirements are present.

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 description coverage is 100%, establishing a baseline of 3, and the schema already states "prevents conflicting writes" and "Reuse it only for an exact retry." The description's concurrency and retry guidance largely restates that, adding little new meaning about rules encoding or version semantics.

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?

"Publish a new immutable policy version" names a specific verb (publish) and resource (policy version) and adds the key qualifier that the result is immutable, which separates it in spirit from quality_policy_create. It never names a sibling explicitly, so differentiation still requires inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives operational conditions — set expectedCurrentVersion to avoid overwriting concurrent updates, reuse operationId only for exact retries — which implies when the tool is appropriate. It does not say when to use quality_policy_create versus publish, nor any prerequisite workflow, so guidance is implied rather than explicit.

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