Skip to main content
Glama
tigergraph

tigergraph-mcp

Official
by tigergraph

tigergraph__create_loading_job

Define file mappings for vertices and edges, then create a loading job to import data into TigerGraph. Optionally execute and drop the job after running.

Instructions

Create a loading job from structured configuration. The job defines how to load data from files into vertices and edges. Each file config specifies: file alias, separator, header, EOL, and mappings. Node mappings define which columns map to vertex attributes. Edge mappings define source/target columns and edge attributes. Optionally run the job immediately and drop it after execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesYesList of file configurations. Each file must have a 'file_alias' and 'node_mappings' and/or 'edge_mappings'. Example: [{'file_alias': 'f1', 'node_mappings': [...]}]
profileNoConnection profile name. Omit to use the active default profile. Use 'list_connections' to see available profiles.
run_jobNoIf True, run the loading job immediately after creation.
job_nameYesName for the loading job.
graph_nameNoName of the graph. If not provided, uses default connection.
drop_after_runNoIf True, drop the job after running (only applies if run_job=True).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.5/5.0
Behavior3/5

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

Annotations provide no safety hints (all false), so the description must carry the burden. It discloses that the job can be run immediately and dropped, which is useful, but it does not mention side effects like overwriting existing jobs, required permissions, or failure behavior. This is a moderate disclosure for a creation tool.

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 concise (5 sentences) and front-loads the core purpose. Each sentence adds relevant information without redundancy, making it easy to scan and understand quickly.

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?

There is no output schema, and the description does not explain what the tool returns or any prerequisites (e.g., needing an existing graph or schema). It also omits error conditions and the implications of the run_job/drop_after_run flags beyond their existence. For a tool with complex nested configuration, this is adequate but not fully complete.

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 all parameters are documented in the schema. The description adds only a high-level summary of file config, node mappings, and edge mappings, which largely repeats the schema. It provides marginal value beyond the schema, so a baseline 3 is appropriate.

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?

The description clearly states it creates a loading job and summarizes what the job does (loads data from files into vertices and edges). It distinguishes from siblings like run_loading_job_with_file and drop_loading_job by focusing on the creation aspect, though it doesn't explicitly name alternatives.

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?

The description implies this tool is for creating (and optionally running) loading jobs, but it does not explicitly state when to use it versus other loading job tools. It does mention the run_job and drop_after_run options, which gives some guidance on optional behavior, but lacks explicit exclusions or alternative routing.

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