Skip to main content
Glama

Zorqelio — Data Reliability for AI Agents

quality_policy_create

Idempotent

Create an owned, versioned quality policy for an existing workspace contract. Requires active subscribed or evaluation access. Pass rules as JSON text and a stable operationId; exact retries return the same policy without creating duplicates. Example: invoke quality_policy_create 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>",
      "name": "<name>",
      "contractId": "<contractId>",
      "rules": "<rules>",
      "operationId": "<operationId>"
    },
    "name": "quality_policy_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesHuman-readable name for the new resource.
rulesYesQuality policy rules encoded as JSON text.
contractIdYesUnique identifier of the contract.
operationIdYesStable unique request identifier. Reuse it only for an exact retry.
workspaceTokenYesSecret API token for the workspace; keep it private.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / contractId / description
      Added value: +"Unique identifier of the contract."
    • addedInput schema / properties / name / description
      Added value: +"Human-readable name for the new resource."
    • addedInput schema / properties / operationId / description
      Added value: +"Stable unique request identifier. Reuse it only for an exact retry."
    • 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 idempotentHint=true, readOnlyHint=false and destructiveHint=false, so the description's value-add is the mechanism: 'exact retries return the same policy without creating duplicates' via a stable operationId. It also discloses the entitlement prerequisite (active subscribed or evaluation access) and the versioned/owned nature of the created entity, beyond what annotations convey; it stops short of describing failure modes for invalid rules or name collisions.

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 two sentences are dense and front-loaded with the constraint, idempotency behavior, and prerequisites. The trailing 'Example:' sentence is filler that restates the existence of an input schema and adds generic credential advice, diluting an otherwise tight 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 5-required-param mutation with no output schema and full schema coverage, the description covers purpose, entitlement gate, and idempotency — the things an agent most needs before writing. Gaps remain around what is returned on success (beyond 'the same policy') and what happens when rules JSON is malformed.

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 100%, so baseline is 3; the schema already documents all five parameters including operationId's 'reuse only for exact retry' semantics. The description reinforces rules-as-JSON-text and the operationId retry contract, but adds little the schema doesn't already state, and says nothing about contractId resolution or name uniqueness.

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?

Opens with a specific verb+resource: 'Create an owned, versioned quality policy for an existing workspace contract', which scopes the operation to an existing contract and signals versioning/ownership semantics. It's clear enough to distinguish creation from the read/publish siblings, but it never names an alternative, so differentiation is inferred rather than stated.

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?

Gives a real prerequisite ('Requires active subscribed or evaluation access') and states the retry contract, which tells the agent when the call will succeed. However, there is no explicit when-to-use vs. when-not guidance and no pointer to quality_policy_get/publish as the read or promotion path after creation.

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