Skip to main content
Glama

Run a data processing job, step 1: create job and get upload URL(s)

run_data_job

First step of processing new data files through an already-configured data spec: creates a job and returns presigned upload URL(s) for each file. Upload the file(s) per the returned instructions, then call finish_data_job with the returned jobId to start processing and wait for it to complete.

Do NOT call this right after onboard_data_source/finish_data_source_onboarding or update_data_spec/finish_data_spec_update unless loadSampleData was explicitly set to false there — by default those already load and process the sample file as their own job (see the returned lastJobId), so calling run_data_job again for that same file creates a redundant second job. Only use this for files beyond the initial sample (new batches, additional files to process later).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
specNameYesName of the already-configured data spec to process files through.
fileNamesYesFile names of the data files to process (e.g. ["jan.csv", "feb.csv"])
workspaceIdNoWorkspace to act on. Defaults to your only workspace if you have exactly one.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesYes
jobIdYes
messageYes
nextStepYesThe finish_data_job call to make once upload(s) are done.
specNameYes

TDQS

A4.3/5.0
Behavior4/5

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

Annotations indicate readOnlyHint=false, destructiveHint=false, and idempotentHint=false, but the description adds important behavioral context: it creates a job, returns presigned upload URLs, and requires a subsequent call to finish_data_job. It also discloses the side effect of creating a redundant job if misused. This goes beyond the annotations, though it doesn't detail the upload process or job lifecycle fully.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a clear first sentence and a warning paragraph. It is slightly verbose but every sentence adds value, explaining the workflow and the redundancy pitfall. The front-loading is good, with the core purpose stated first.

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 complexity (multi-step workflow, potential redundancy), the description covers the key points: what it does, how to proceed, and when to avoid it. It doesn't explain the upload instructions or job completion details, but the output schema likely covers return values, and the description points to finish_data_job for the next step. It is complete enough for an agent to use correctly.

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 the schema already documents all three parameters. The description adds context about the relationship between specName and fileNames (processing files through a configured spec) and the workflow (upload then finish), but it doesn't add significant new meaning beyond the schema. Baseline 3 is appropriate.

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 purpose: 'First step of processing new data files through an already-configured data spec: creates a job and returns presigned upload URL(s) for each file.' It specifies the verb (creates), the resource (job), and the scope (for new data files), and distinguishes it from sibling tools like finish_data_job and onboard_data_source.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit when-to-use and when-not-to-use guidance. It warns against calling this tool right after onboarding or spec update unless loadSampleData was false, and explains the alternative (using the returned lastJobId). It also clarifies the intended use case: 'Only use this for files beyond the initial sample.'

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.

TDQS

A4.2/5.0
Disambiguation4/5

Most tools map to distinct lifecycle phases and the descriptions explicitly separate overlapping-sounding concepts, such as list_data versus submit_query and the generic call_dpf_api from dedicated tools. The three finish_* tools are similarly worded but each is clearly tied to a specific preceding operation, so confusion should be limited.

Naming Consistency4/5

The tool names are uniformly snake_case and mostly follow a readable verb_noun pattern like delete_data_spec, create_workspace, and run_data_job. It is not a perfect 5 because broader names like manage_connection and manage_trigger, the generic call_dpf_api, and list_my_workspaces with its pronoun make the naming pattern less predictable.

Tool Count4/5

At 16 tools, the set is just slightly above the ideal range, but the tools generally earn their place by representing distinct steps or workflow boundaries. The start/finish pairs create some apparent redundancy, but that is a natural consequence of the multi-step file-upload flow.

Completeness4/5

The toolset provides solid coverage of the core data-platform lifecycle: workspaces, data specs, jobs, connections, triggers, scheduled pulls, status polling, and SQL querying. Some additional DPF capabilities are only reachable through the generic call_dpf_api rather than dedicated tools, and billing mutations are explicitly left outside the MCP surface, so coverage is strong but not absolute.

Resources