Skip to main content
Glama

Zorqelio — Data Reliability for AI Agents

data_normalize

Normalize inconsistent JSON records into a predictable structure using explicit source-to-target field mappings and defaults. Deterministic; does not call an AI model.

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": {
      "json": "<json>"
    },
    "name": "data_normalize"
  }
}

Input Schema

NameRequiredDescriptionDefault
jsonYesJSON document encoded as text.
mappingNoJSON object mapping output fields to input paths.
defaultsNoJSON object of fallback values by output field.
operationIdNoStable unique request identifier. Reuse it only for an exact retry.
removeUnmappedNoKeep only mapped output fields when true, the default.
workspaceTokenNoSecret API token for the workspace; keep it private.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / defaults / description
      Added value: +"JSON object of fallback values by output field."
    • addedInput schema / properties / mapping / description
      Added value: +"JSON object mapping output fields to input paths."
    • addedInput schema / properties / removeUnmapped / description
      Added value: +"Keep only mapped output fields when true, the default."
  2. Changed3 schema fields changed
    • removedInput schema / properties / defaults / description
      Removed value: -"Value for the defaults parameter of the data_normalize tool; follow its schema constraints."
    • removedInput schema / properties / mapping / description
      Removed value: -"Value for the mapping parameter of the data_normalize tool; follow its schema constraints."
    • removedInput schema / properties / removeUnmapped / description
      Removed value: -"Value for the removeUnmapped parameter of the data_normalize tool; follow its schema constraints."
  3. Changed6 schema fields changed
    • addedInput schema / properties / defaults / description
      Added value: +"Value for the defaults parameter of the data_normalize tool; follow its schema constraints."
    • addedInput schema / properties / json / description
      Added value: +"JSON document encoded as text."
    • addedInput schema / properties / mapping / description
      Added value: +"Value for the mapping parameter of the data_normalize tool; follow its schema constraints."
    • addedInput schema / properties / operationId / description
      Added value: +"Stable unique request identifier. Reuse it only for an exact retry."
    • addedInput schema / properties / removeUnmapped / description
      Added value: +"Value for the removeUnmapped parameter of the data_normalize tool; follow its schema constraints."
    • addedInput schema / properties / workspaceToken / description
      Added value: +"Secret API token for the workspace; keep it private."
  4. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false; the description adds real value by asserting determinism and that no AI model is invoked, which an agent cannot infer from structured fields. However it says nothing about failure behavior for invalid mapping paths, whether repeated calls are safe, or the workspaceToken authorization requirement. The determinism claim sits slightly awkwardly against idempotentHint=false, though this is not a contradiction since normalization can be deterministic yet still non-idempotent in effect.

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 sentences, front-loaded with the action and mechanism, with the determinism caveat second. Nothing is padded or repeated from the schema.

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 six-parameter transformation tool with full schema coverage and no output schema, this covers purpose and mechanism adequately. The remaining gap is what happens to input fields whose paths do not resolve and how errors surface, which an agent would want before calling.

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 including mapping, defaults, removeUnmapped, operationId and workspaceToken is already documented. The description reinforces the meaning of mapping and defaults but adds no syntax, path-expression format, or precedence rules beyond the schema.

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 specific verb and resource ('Normalize inconsistent JSON records into a predictable structure') plus the mechanism ('explicit source-to-target field mappings and defaults'). It implicitly separates itself from transformation/validation siblings like json_format or json_schema_validate via the determinism claim, though it never names an alternative.

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?

Usage is implied by the problem statement: use it when records are inconsistent and you have a known mapping. There is no explicit when-not guidance, no mention of prerequisites for producing a mapping, and no pointer to the sibling tools an agent would otherwise consider.

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