Skip to main content
Glama

Zorqelio — Data Reliability for AI Agents

quality_policy_evaluate

Evaluate one explicit saved policy version, persist sanitized results and return ALLOW, WARN or BLOCK. Reuse operationId for an exact retry.

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>",
      "version": "<version>",
      "json": "<json>",
      "operationId": "<operationId>"
    },
    "name": "quality_policy_evaluate"
  }
}

Input Schema

NameRequiredDescriptionDefault
jsonYesJSON document encoded as text.
versionYesVersion number of the resource.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / json / description
      Added value: +"JSON document encoded as text."
    • 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 / version / description
      Added value: +"Version number of the resource."
    • addedInput schema / properties / workspaceToken / description
      Added value: +"Secret API token for the workspace; keep it private."
  2. Changed2 schema fields changed
    • changedInput schema / properties / operationId / maxLength
      Previous value: -200New value: +128
    • changedInput schema / required
      Previous value: -[
      -  "workspaceToken",
      -  "policyId",
      -  "version",
      -  "json"
      -]New value: +[
      +  "workspaceToken",
      +  "policyId",
      +  "version",
      +  "json",
      +  "operationId"
      +]
  3. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare non-readonly, non-idempotent, non-destructive, closed-world, so the safety profile is largely covered. The description adds genuinely useful behavior the annotations don't convey: results are persisted in sanitized form and retries are keyed by operationId. It stops short of explaining what 'sanitized' means or what state a BLOCK result leaves behind.

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

Conciseness5/5

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

Two short sentences, front-loaded with the action and outcome vocabulary, and the retry rule trails as a secondary note. No filler or restatement of the tool name.

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?

With no output schema, the description usefully enumerates the three return verdicts and discloses that results are persisted. For a five-parameter, fully-required mutation-ish evaluation tool, only the meaning of sanitization and any failure modes are left unexplained.

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%, so every parameter is already documented including the operationId retry rule. The description echoes the operationId semantics and implies version must be an existing saved version, but adds no new format or constraint detail beyond the schema. Baseline 3 applies.

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?

States a concrete verb and resource ('Evaluate one explicit saved policy version') plus the three possible outcomes (ALLOW/WARN/BLOCK) and the persistence side effect. It doesn't explicitly name how it differs from nearby tools like contract_validate or data_quality_check, but the 'saved policy version' scoping makes the target unambiguous.

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?

'One explicit saved policy version' implies the prerequisite that the version must already exist, and 'Reuse operationId for an exact retry' gives a clear condition for that parameter. However, there is no guidance on when to choose this over the sibling validation/check tools, and no note about what to do if the version is unpublished.

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