Skip to main content
Glama

xmagnet

upload_contacts

STEP 2 of contact upload. Inserts contacts into Xmagnet using the field_mappings confirmed from preview_upload_mapping. Each contact must include the original column names as keys. Requires email per row. Max 500 per call. NEVER call before preview_upload_mapping.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contactsYesRows as objects keyed by the ORIGINAL column headers
field_mappingsYes{original_column: db_field} from preview_upload_mapping

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint=false and destructiveHint=false, so the write nature is known. The description adds valuable behavioral context: 'Requires email per row', 'Max 500 per call', and the hard precondition about preview_upload_mapping. These constraints are not present in the annotations, and there is no contradiction.

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?

The description is extremely concise: four short sentences, each earning its place. It front-loads the step position ('STEP 2'), then explains the action, then states critical requirements. There is no fluff or redundancy.

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's moderate complexity (multi-step upload, nested array parameter) and lack of an output schema, the description covers the essential context: purpose, step dependency, key requirements, and limits. It does not describe the return value or error behavior, which would improve completeness, but it is sufficient for basic correct usage.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds operational semantics beyond the schema: it reinforces that contacts must use original column names as keys, and introduces new constraints ('Requires email per row', 'Max 500 per call') that are not in the schema. This adds meaningful value for correct invocation.

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 clearly states the tool's function: 'Inserts contacts into Xmagnet using the field_mappings confirmed from preview_upload_mapping.' It explicitly labels itself as 'STEP 2 of contact upload', distinguishing it from sibling tools like preview_upload_mapping and add_contacts. The verb 'inserts' and resource 'contacts into Xmagnet' are specific and unambiguous.

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?

The description provides a strong usage guideline with 'NEVER call before preview_upload_mapping' and positions itself as 'STEP 2'. It doesn't explicitly discuss alternatives (e.g., when to use add_contacts instead), but the step context and the explicit precondition give clear situational guidance.

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