Skip to main content
Glama
getsimba-ai

Simba MCP Server

Official
by getsimba-ai

upload_data

Upload a CSV dataset to Simba for marketing mix model building. Supply CSV content or a file path to receive a file ID and validation warnings.

Instructions

Upload a CSV dataset to Simba for use in model building.

Provide EXACTLY ONE of csv_content (raw CSV text) or csv_path (a file path on the machine running this MCP server). Prefer csv_path for anything beyond trivial size — it avoids passing megabytes of CSV through the conversation.

The CSV should follow the canonical schema: one row per time period with date, KPI, multiplier, hierarchy, media activity/spend columns, and optional control variables.

IMPORTANT:

  • CSV only (not Excel). Maximum file size: 10 MB (API-enforced).

  • Row minimum: check get_data_schema -> x-simba-constraints.min_rows for the declared minimum; enforcement may be more permissive, and the upload response's warnings field is authoritative. More rows = tighter posteriors (104+ weekly rows recommended).

  • Media columns must follow naming: {channel}_activity and {channel}_spend.

  • Use 0 for inactive periods, not blank or NA.

  • csv_path is only available when the server runs locally (stdio). On HTTP/SSE deployments it is disabled unless SIMBA_MCP_ALLOW_LOCAL_FILES=1.

Args: csv_content: The full CSV text content (not base64, just raw CSV text). csv_path: Path to a .csv file readable by the MCP server process. name: Optional dataset name for identification. Defaults to the file stem when csv_path is used. filename: Optional original filename to record alongside the dataset.

Returns the uploaded file ID (needed for create_model), row/column counts, and any validation warnings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
csv_pathNo
filenameNo
csv_contentNo
Behavior5/5

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

With no annotations provided, the description fully carries the behavioral transparency burden. It discloses the 10 MB API-enforced limit, CSV-only restriction, authoritative warnings field, required media column naming conventions, zero-fill requirement for inactive periods, and the local-only availability of csv_path. This goes well beyond a minimal disclosure.

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 long but every block earns its place: a one-sentence summary, a clarity rule, structured constraints, and a compact Args section. Important caveats are front-loaded and highlighted with 'IMPORTANT', so an agent can quickly identify critical requirements.

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?

Despite having no output schema and no annotations, the description tells the agent what the tool returns (uploaded file ID needed for create_model, row/column counts, validation warnings) and points to get_data_schema for the canonical input format. This is complete enough for an agent to invoke the tool correctly in most environments.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema descriptions cover 0% of the parameters, so the description must compensate, and it does thoroughly. It explains csv_content as raw CSV text, csv_path as a server-readable file path, name's default behavior from the file stem, and filename's purpose as a recorded original filename. It also adds the exclusivity constraint between csv_content and csv_path.

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 states a specific verb ('Upload'), a resource ('CSV dataset to Simba'), and its purpose ('for use in model building'). This clearly differentiates it from sibling tools like list_uploads, get_upload, and create_model by focusing on the ingestion step.

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 gives explicit usage guidance: provide exactly one of csv_content or csv_path, prefer csv_path for large data, and check get_data_schema for row minimums. It also specifies when csv_path is unavailable (HTTP/SSE deployments), making the selection context clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/getsimba-ai/simba-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server