Skip to main content
Glama

upload_import

Put an uploaded file on a model: an existing one by model (one you may change), or, with no model, a new empty model titled title (else the filename) whose time axis is read off the workbook's header row. Nothing is built yet: then skill_load from_workbook and follow it with the model's uid — workbook_structure, workbook_fit, workbook_draft, workbook_fill, workbook_reconcile read the file from the model.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "upload": "<upload>"
    },
    "name": "upload_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoAn existing model's uid to attach the file to; leave out for a new model.
titleNoA new model's title: a name, as it will read in the person's list.
uploadYesThe upload's id (`upl_…`), from upload_request or upload_from_chat.
descriptionNoA new model's description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and idempotentHint=false; the description corroborates this by explaining that a new empty model is created when `model` is omitted, and adds non-obvious context — "Nothing is built yet" and the time axis being read off the header row. It stops short of describing failure modes or permission requirements, so it is strong but not exhaustive.

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?

Two sentences, front-loaded with the core action and the branch condition, then the follow-up workflow. It is dense and every clause carries information, though the telegraphic phrasing ("Nothing is built yet:") is slightly compressed and costs some readability.

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 4 fully documented parameters, no output schema required, and annotations covering the safety profile, the description supplies the missing piece an agent actually needs: the sequencing into skill_load and the workbook_* family. It does not state what happens if the upload or model is invalid, which keeps it from a 5.

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, and the description earns above that by adding behavior the schema cannot express: `title` falls back to the filename, `model` is "one you may change," and the workbook header row determines the time axis. Only `description` gets no treatment, hence a 4 rather than 5.

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 a concrete verb+resource ("Put an uploaded file on a model") and immediately splits the operation into its two distinct modes: attaching to an existing model via `model`, or creating a new one from `title`/filename. That is enough for an agent to distinguish it from siblings like upload_request or upload_status.

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 states exactly when each branch applies (with `model` vs. with no `model`), and it names the mandatory next step: "then skill_load from_workbook and follow it with the model's uid," plus which tools subsequently read the file. The agent is routed forward with no inference required.

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