Skip to main content
Glama
kobra-x-mcp

kobra-x-mcp

by fralapo

upload_file

Upload a local .gcode or .3mf file (max 300 MB) to the printer's storage without overwriting existing files; requires confirmation and does not start printing.

Instructions

ACTION: upload a local .gcode/.3mf file (absolute path, max 300 MB) to the printer's storage.

Never overwrites: refuses if the name already exists. Does not start the print. Upload was verified on the Kobra X by an external source, not by this server. Proceeds only with confirm=true and the person's confirmation; dry_run=true shows the request (without the token).

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": {
      "local_path": "<local_path>"
    },
    "name": "upload_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be the boolean true to proceed.
dry_runNotrue: return the exact message without sending it or asking for confirmation.
local_pathYes
remote_nameNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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 burden and does well: non-destructive by policy ("Never overwrites: refuses if the name already exists"), size limit, confirmation requirement, dry-run semantics, and a candid provenance caveat that the upload path was verified externally on a Kobra X. It omits any statement about error/failure responses or whether partial uploads are cleaned up.

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?

Front-loaded with an ACTION label, then one dense clause per constraint. No filler sentences; every line conveys a distinct constraint or caveat.

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?

The output schema exists, so return-value explanation is unnecessary, and the safety/confirmation behavior is fully covered for a mutation tool lacking annotations. The remaining gap is remote_name semantics and failure handling, minor but relevant for a tool that refuses on name collisions.

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?

At 50% schema coverage, the description compensates for most of the gap: it explains local_path (absolute, .gcode/.3mf, 300 MB max), confirm (must be true), and dry_run (returns the exact request without the token). remote_name remains unexplained in both description and schema, including how null defaults are resolved.

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?

Opens with an explicit action/resource pair: "upload a local .gcode/.3mf file ... to the printer's storage", and constrains it with file types, an absolute-path requirement, and a 300 MB cap. It also separates itself from the print-start siblings by stating "Does not start the print."

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?

Gives clear preconditions (confirm=true plus the person's confirmation) and an alternative mode (dry_run=true to preview without the token). It also signals the follow-on step by clarifying it does not start the print, but it never names a specific sibling such as start_print or list_files as the next tool.

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