Skip to main content
Glama

schedule-iii

Confirm column mapping

confirm_column_mapping
Destructive

Confirm the column→field mapping for a staged upload and run validation. Returns the full validation result (row counts, warnings, blocking issues). Mapping suggestions are never auto-applied — pass exactly the mapping your user approved. Review any warnings with your user before ingesting.

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": {
      "upload_id": "<upload_id>",
      "mapping": "<mapping>"
    },
    "name": "confirm_column_mapping"
  }
}

Input Schema

NameRequiredDescriptionDefault
mappingYes
optionsNo
save_asNo
upload_idYesThe upload session id returned by upload_trial_balance.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / options / properties / aging_history_source
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "asAt": {
      +      "format": "date",
      +      "type": "string"
      +    },
      +    "contract": {
      +      "const": "aging-history-source/v1",
      +      "type": "string"
      +    },
      +    "currency": {
      +      "pattern": "^[A-Z]{3}$",
      +      "type": "string"
      +    },
      +    "expectedPopulation": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "rowCount": {
      +          "maximum": 9007199254740991,
      +          "minimum": -9007199254740991,
      +          "type": "integer"
      +        },
      +        "sourceFileHash": {
      +          "pattern": "^[a-f0-9]{64}$",
      +          "type": "string"
      +        },
      +        "state": {
      +          "enum": [
      +            "complete_nonempty",
      +            "complete_empty"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "state",
      +        "rowCount",
      +        "sourceFileHash"
      +      ],
      +      "type": "object"
      +    },
      +    "periodMonth": {
      +      "pattern": "^\\d{4}-(0[1-9]|1[0-2])-01$",
      +      "type": "string"
      +    },
      +    "side": {
      +      "enum": [
      +        "receivable",
      +        "payable"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "contract",
      +    "periodMonth",
      +    "asAt",
      +    "side",
      +    "currency",
      +    "expectedPopulation"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / options / properties / debt_history_source
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "asAt": {
      +      "format": "date",
      +      "type": "string"
      +    },
      +    "contract": {
      +      "const": "debt-principal-terms/v1",
      +      "type": "string"
      +    },
      +    "currency": {
      +      "pattern": "^[A-Z]{3}$",
      +      "type": "string"
      +    },
      +    "expectedCounts": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "facilityCount": {
      +          "$ref": "#/properties/options/properties/aging_history_source/properties/expectedPopulation/properties/rowCount"
      +        },
      +        "interestRecordCount": {
      +          "$ref": "#/properties/options/properties/aging_history_source/properties/expectedPopulation/properties/rowCount"
      +        },
      +        "obligationCount": {
      +          "$ref": "#/properties/options/properties/aging_history_source/properties/expectedPopulation/properties/rowCount"
      +        }
      +      },
      +      "required": [
      +        "facilityCount",
      +        "obligationCount",
      +        "interestRecordCount"
      +      ],
      +      "type": "object"
      +    },
      +    "expectedPopulation": {
      +      "$ref": "#/properties/options/properties/aging_history_source/properties/expectedPopulation"
      +    },
      +    "periodMonth": {
      +      "$ref": "#/properties/options/properties/aging_history_source/properties/periodMonth"
      +    }
      +  },
      +  "required": [
      +    "contract",
      +    "periodMonth",
      +    "asAt",
      +    "currency",
      +    "expectedPopulation",
      +    "expectedCounts"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / options / properties / eligible_fte_source_binding
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "contractor_scope_evidence_snapshot_id": {
      +      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
      +      "type": "string"
      +    },
      +    "roster_source_snapshot_id": {
      +      "anyOf": [
      +        {
      +          "$ref": "#/properties/options/properties/eligible_fte_source_binding/properties/contractor_scope_evidence_snapshot_id"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "version": {
      +      "const": "eligible-fte-source-binding/v1",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "version",
      +    "contractor_scope_evidence_snapshot_id"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.8/5.0
Behavior3/5

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

The description discloses useful behavior beyond the annotations: it runs validation, returns row counts, warnings and blocking issues, and never auto-applies suggestions. However, despite destructiveHint=true, it does not explain what destructive state change or persistence occurs when confirming the mapping.

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?

Three tight sentences front-load the purpose, summarize the return value, then add the key usage warning. There is no unnecessary wording.

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

Completeness3/5

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

The description covers purpose, return contents, and an important usage warning, which is helpful for a complex mutation. It remains incomplete for the large nested options schema, save_as, and the destructive behavior implied by annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25%, and the description adds meaning mainly for the mapping concept and upload approval workflow. It does not explain the complex options object, save_as, or many nested option fields, so it does not compensate for the low schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: confirm the column→field mapping for a staged upload and run validation. It also distinguishes this from generic mapping tools by scoping it to staged uploads and column-to-field mappings.

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 usage guidance: pass exactly the mapping the user approved, never auto-apply suggestions, and review warnings before ingesting. It lacks explicit alternatives or when-not-to-use guidance, but the intended workflow is clear.

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