Skip to main content
Glama
@cmssy/mcp-server

@cmssy/mcp-server

Official

Confirm record import

confirm_record_import
Destructive

Writes the valid rows of an import awaiting confirmation after validation rejected invalid rows. Invalid rows are skipped; review them first with list_record_import_rows.

Instructions

Write the valid rows of a record import that is awaitingConfirmation - the state an import started with onInvalid STOP stops in when validation refused some rows. The invalid rows are skipped; read them first with list_record_import_rows (status invalid). An import left awaiting confirmation for 24 hours is cancelled. Follow the write with get_record_import.

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": {
      "jobId": "<jobId>"
    },
    "name": "confirm_record_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesThe import job's id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.148.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the safety profile is known. The description goes beyond them by disclosing that invalid rows are skipped rather than written and that imports sitting in awaiting confirmation for 24 hours are auto-cancelled – meaningful side effects an agent could not infer. It does not state whether the confirmation itself is reversible or whether the call is transactional.

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 sentences, front-loaded with the state precondition, then side effects, then the timeout, then the recommended follow-up. No filler and nothing repeated from the schema or annotations.

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 one-parameter mutation with a destructive annotation and no output schema, the definition covers the triggering state, skipped-row behavior, expiry, and the recommended follow-up read. Only the return value of the call itself is left implicit, which is a minor gap given the pointed 'follow with get_record_import' instruction.

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?

There is a single required param (jobId) fully documented in the schema at 100% coverage, and the description adds no syntax, format, or sourcing guidance for it. Baseline 3 is appropriate since the schema carries the parameter meaning.

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?

Names a specific verb ('Write') and resource ('valid rows of a record import') plus a precise precondition ('awaitingConfirmation' with onInvalid STOP). This is distinguishable from siblings like get_record_import and list_record_import_rows without reading the schema.

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?

States the exact state that makes this tool applicable and gives the workflow prerequisite (read invalid rows first with list_record_import_rows status invalid) and follow-up (get_record_import). It does not say what to do when the import is not in awaitingConfirmation, but the state gate is otherwise unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools