Skip to main content
Glama
beagleprint-mcp

beagleprint-mcp

upload_file

Upload a G-code file to Beagle storage without starting printing; an existing file with the same name is replaced.

Instructions

Upload a G-code file to the Beagle storage (does not start printing). A file with the same name is replaced.

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

Input Schema

NameRequiredDescriptionDefault
pathYesPath to a .gcode file on this computer

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only give generic flags (non-read-only, non-idempotent, non-destructive); the description adds the important trait that an existing file of the same name is silently replaced, which no annotation conveys. It doesn't cover upload failures, size limits, or path restrictions, but the overwrite disclosure is the key behavioral fact.

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?

Two short sentences, front-loaded with the core action and followed immediately by the scoping caveat and overwrite rule. No redundant wording.

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 one-parameter tool with an output schema, the description covers what it does, what it does not do, and what happens to name collisions. Minor remaining gaps (validation of file contents, behavior on failure) are acceptable given the low complexity.

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

Parameters3/5

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

Schema coverage is 100% and the single parameter 'path' is already described as the path to a .gcode file on the local computer. The description adds no format, naming, or remote path details beyond the schema, so the baseline applies.

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 (upload) plus resource (G-code file) and destination (Beagle storage), and explicitly distinguishes the action from printing: 'does not start printing'. An agent can tell it apart from start_print or send_gcode without opening a schema.

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?

Provides a clear exclusion — uploading does not begin a print — which resolves the main ambiguity against siblings like start_print. It does not name an alternative tool or state preconditions (file must exist locally, valid G-code), so it stops short of full when/when-not guidance.

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