Skip to main content
Glama

datasets_upload

Get your data in. Pass data as an array of row objects to create the dataset immediately and get a dataset_ref ready for path_resolver; omit it to get an upload link for a file only the user can reach. Add replace_ref (uuid://ID:KEY) with data to REFRESH an existing dataset in place; schedules and tools holding that reference read the new data on their next run.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoRows as an array of flat objects, creates the dataset in one call
expires_inNoToken expiration in seconds
replace_refNouuid://ID:KEY of an existing dataset to overwrite in place with `data` (the push/refresh mode)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations mark this as a write (readOnlyHint=false) that is neither idempotent nor destructive, so safety basics are covered. The description adds real context beyond that: REFRESH overwrites the existing dataset in place, downstream schedules/tools pick up new data on next run, and the upload-link path yields a file only the user can reach.

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?

Three sentences, front-loaded with the core action and organized by mode. Slightly informal phrasing ('Get your data in') costs nothing in clarity and every clause carries load.

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?

With no output schema, the description correctly notes what you get back (a dataset_ref ready for path_resolver) and covers both modes plus the in-place refresh lifecycle. Complete for a 3-parameter, zero-required tool.

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 coverage is 100%, so the baseline is 3, but the description adds the crucial interrelationship: `replace_ref` must be combined with `data` to trigger refresh, and omitting `data` switches to upload-link mode. That pairing semantics is not obvious from the schema alone.

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?

States a specific verb+resource ('Get your data in' → create the dataset / get an upload link) and distinguishes two operating modes clearly. It lacks explicit differentiation from sibling datasets_list, but an agent can tell this is the write-side counterpart to listing.

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?

It explicitly routes usage by parameter: pass `data` to create immediately, omit it for an upload link, and add `replace_ref` with `data` to refresh. The when-to-use condition for each mode is spelled out rather than inferred.

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.