Skip to main content
Glama
josemachado-vp

SF Assistant MCP Server

validate_migration_file

Validates CSV import files for migration by checking column headers, data types, required fields, picklist values, and foreign key references. Returns a detailed error report per row.

Instructions

Deep validation of a migration/import CSV file.

Validates:

  • Column headers match entity metadata

  • Key fields are present and populated

  • Data types are correct (dates, numbers, strings)

  • Required fields are populated

  • Picklist values exist (strict mode)

  • Foreign key references exist (strict mode)

  • Date format consistency

Returns detailed error report per row.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entityYesTarget entity (e.g., 'EmpJob', 'FODepartment')
strictNoStrict mode: also validate picklist values and foreign key references exist
data_centerNo
auth_user_idNo
file_contentYesCSV file content as string
auth_passwordNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description bears full burden. Lists comprehensive validation checks including strict mode behavior. Notes that it returns a detailed error report per row, implying read-only operation. Lacks explicit mention of authorization requirements or side effects, but given the context, it is transparent enough.

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?

Concise, bulleted list with sentences that each add value. Front-loaded with purpose, then lists validation categories. No redundant or vague statements.

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?

Given the tool has 6 parameters and an output schema, the description covers the primary function and validation details. Missing explanation for optional authentication/configuration parameters, but overall sufficient for an agent to understand its role.

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 50%; description adds meaning for 'entity' and 'file_content' by linking to validation checks. However, optional parameters (data_center, auth_user_id, auth_password) are not explained beyond schema, leaving their purpose unclear.

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?

Clearly states it validates CSV migration files and lists specific validation categories (headers, key fields, data types, etc.). Distinguishes from sibling tools like 'validate_import_template' and 'audit_employee_data' by specifying 'deep validation' for migration/import CSV files.

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?

Implicitly indicates use for validating migration CSV files before import, but does not explicitly state when to use over alternatives or when not to use. No mention of prerequisites or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/josemachado-vp/MCP-SF'

If you have feedback or need assistance with the MCP directory API, please join our Discord server