Skip to main content
Glama

create_dataset_with_payment

Step 2 of buying a training dataset: submit the job again with the signed X-Payment payload and the quote id. Returns in seconds with a dataset id and a claim token; generation then runs in the background. SAVE THE CLAIM TOKEN — it is shown once and is the only way to read the job or download the result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoName for the dataset
modelIdNoExact managed model from list_dataset_pricing (decides the tier and price)
networkNoChain you will pay on (default base)
quoteIdYesquote_id from request_dataset_payment
gridModelNoModel on the decentralized encrypted grid: cheaper, slower, data never leaves the network
modelTierNoManaged model speed/quality tier. Omit when using gridModel
targetRowsYesHow many examples to generate (50-2000). Price scales with this
webhookUrlNoPublic HTTPS URL to notify when the dataset is ready; the POST is signed
descriptionYesWhat the model being trained should do, in one plain sentence
seedExamplesYes5 to 20 example conversations showing the behaviour you want
systemPromptNoStanding instruction every generated example should follow
paymentPayloadYesRaw X-Payment payload from the paying client, as JSON or a base64 string

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full transparency burden. It discloses that the call returns quickly, dataset generation runs in the background, and the claim token is shown only once and is the sole way to read/download results — including the critical risk of losing the token. It doesn't cover failure modes or payment charge behavior, but the most decision-relevant behaviors are clearly stated.

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?

Three sentences with no filler: the first states the action and step, the second states the return value and async behavior, and the third delivers the critical warning in caps. The most important operational risk (claim token shown once) is front-loaded at the end with emphasis.

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?

For a 12-parameter payment tool with no output schema, the description covers the essential operational outcomes: dataset id, claim token, background generation, and the token's critical role in later retrieval. It doesn't explain which parameters must match the original quote or how webhookUrl interacts with the claim token, but the schema covers parameters and the flow is otherwise adequately explained.

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. The description adds relational meaning beyond the schema: quoteId is the quote obtained in step 1, paymentPayload is the signed payment data, and the other job parameters must be 'submitted again' — implying the full dataset configuration is resent rather than referenced. This is a useful semantic hint the schema alone does not convey.

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 opens with 'Step 2 of buying a training dataset' and names the action ('submit the job again') with the two key identifiers ('signed X-Payment payload' and 'quote id'). This clearly distinguishes it from sibling payment tools (create_endpoint_with_payment, purchase_product_with_payment) and from the preceding request_dataset_payment by positioning it as the second step.

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 'Step 2' phrasing and the requirement to include a quote id make it clear this tool is used after request_dataset_payment, though that tool is not explicitly named. It also explains the consequence of losing the returned claim token, effectively guiding the agent to use the token with status/retrieval endpoints, but it does not name get_dataset_status or list exclusions.

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

B3.4/5.0
Disambiguation4/5

Most tools pair a clear verb with a distinct resource noun, so endpoints, agents, datasets, campaigns, products, and vault operations are generally easy to separate. The main risk is the repeated request_*_payment / *_with_payment pairs and the two create_*_with_payment tools, which are only distinguishable by reading descriptions carefully.

Naming Consistency4/5

The dominant pattern is verb_noun snake_case, such as list_my_endpoints, update_campaign, and finalize_agent_registration, and the payment/request pairs are consistently named. The vault_* tools use a namespace prefix rather than verb-first names, and vault_how_to_backup breaks the action-oriented convention, so it is not perfectly uniform.

Tool Count2/5

48 tools is a very large MCP surface, well beyond the 25-tool threshold where selection becomes a serious burden. Even though the server spans multiple domains, the count feels excessive for a single agent-facing tool set and should likely be split by domain.

Completeness3/5

The core endpoint, agent, marketplace, and payment flows are well covered, including creation, updates, stats, and two-phase x402 purchases. However, there is no create_product or delete_product, campaigns lack delete, and there is no way to list previously purchased datasets, leaving notable lifecycle gaps.

Resources