Skip to main content
Glama
This connector has been deprecated

This listing duplicates LexQ (io.lexq/lexq), which follows the official MCP Registry entry. Use that listing instead.

Upload Dataset

lexq_dataset_upload

Upload inline CSV or JSON content as a simulation dataset. The content is uploaded to S3 and a path is returned in the "path" field.

To use the returned path in lexq_simulation_start, set: dataset: { "type": "UPLOADED", "source": "S3_BUCKET", "path": "" }

The content travels inside the tool call, so this suits small datasets, and the hosted server at mcp.lexq.io limits the size of a request. For a larger file, use lexq_dataset_upload_file on the local server (lexq serve --mcp), or upload it with the CLI or the console and pass the returned path.

CSV example: userId,paymentAmount user_001,150000 user_002,50000

JSON example: [{"userId":"user_001","paymentAmount":150000}, {"userId":"user_002","paymentAmount":50000}]

Input Schema

NameRequiredDescriptionDefault
contentYesCSV or JSON content as string
filenameNoFilename with extension (.csv or .json)dataset.csv

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false. The description adds real behavior: content is uploaded to S3, a path is returned in the "path" field, and the hosted server imposes request-size limits. That is exactly the context an agent needs before deciding whether to send data through the tool.

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?

Front-loaded with what it does and what it returns, then the chaining instructions, then the size caveat, then examples. Every part earns its place, though the two worked examples make it longer than strictly necessary for a two-parameter tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, but the description covers the return value (the path field) and the exact downstream usage in lexq_simulation_start. Together with the size-limit caveat and format examples, nothing an agent needs in order to call it correctly is missing.

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 still adds value by showing concrete CSV and JSON shapes for the content parameter, which is more informative than the schema's 'CSV or JSON content as string'; the filename parameter is only indirectly referenced via the switch between inline upload and upload_file.

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?

States a specific verb and resource: upload inline CSV or JSON content as a simulation dataset. It also names the sibling alternative (lexq_dataset_upload_file) and distinguishes the local-server vs hosted-server case, so an agent can tell it apart without opening either schema.

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?

Explicit when-to-use (small datasets, content travels inside the call) and when-not-to-use (larger files, hosted server request-size limits), with named alternatives: lexq_dataset_upload_file on the local server, the CLI, or the console. It also gives the follow-on step for lexq_simulation_start with the exact object shape.

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