Skip to main content
Glama

SimplyPrint: 3D Print Farm Management

list_files

Read-onlyIdempotent

List files and folders in the user's SimplyPrint storage. With pid set, only returns files compatible with that printer (full compatibility check). With global_search=true (default), searches recursively across all folders.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fNoFolder id to list (0 or omitted = root)
limitNoCap on returned files (1-500). Useful with sort_by for "5 largest files" or "10 most recent".
searchNoFilename substring search. Matches with or without extension — "Schleife oben 1_PLA_1h4m" and "Schleife oben 1_PLA_1h4m.3mf" both find the same file.
compactNoKeep at default true. Returns minimal data tuned for AI context. Only set to false if you specifically need fields the compact view drops, and then pair with limit to keep the response small.
sort_byNoSort files by this field (folders are not affected). Default: repository order (user's saved files-page sort).
sort_dirNoSort direction; default desc (newest/largest first).
has_gcodeNotrue = only files with a parsed G-code analysis (printable); false = only non-printable files (models, etc.)
printer_idNoOnly return files compatible with this printer (full compatibility check, not just model)
global_searchNoIf true (default), search recursively across all folders instead of only the current one

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • addedInput schema / properties / compact
      Added value: +{
      +  "default": true,
      +  "description": "Keep at default true. Returns minimal data tuned for AI context. Only set to false if you specifically need fields the compact view drops, and then pair with limit to keep the response small.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / f / description
      Added value: +"Folder id to list (0 or omitted = root)"
    • removedInput schema / properties / f / minimum
      Removed value: --1
    • addedInput schema / properties / global_search / description
      Added value: +"If true (default), search recursively across all folders instead of only the current one"
    • addedInput schema / properties / has_gcode
      Added value: +{
      +  "description": "true = only files with a parsed G-code analysis (printable); false = only non-printable files (models, etc.)",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Cap on returned files (1-500). Useful with sort_by for \"5 largest files\" or \"10 most recent\".",
      +  "type": "integer"
      +}
    • addedInput schema / properties / printer_id / description
      Added value: +"Only return files compatible with this printer (full compatibility check, not just model)"
    • removedInput schema / properties / printer_id / minimum
      Removed value: -1
    • addedInput schema / properties / search / description
      Added value: +"Filename substring search. Matches with or without extension — \"Schleife oben 1_PLA_1h4m\" and \"Schleife oben 1_PLA_1h4m.3mf\" both find the same file."
    • addedInput schema / properties / sort_by
      Added value: +{
      +  "description": "Sort files by this field (folders are not affected). Default: repository order (user's saved files-page sort).",
      +  "enum": [
      +    "name",
      +    "size",
      +    "created"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / sort_dir
      Added value: +{
      +  "description": "Sort direction; default desc (newest/largest first).",
      +  "enum": [
      +    "asc",
      +    "desc"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint. The description adds useful behavioral context beyond those: the default recursive search behavior, the 'full compatibility check' (not just model), and the compact data mode tuned for AI context. This enhances transparency without contradicting annotations.

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 brief (three sentences) and front-loaded with the core purpose in the first sentence. It covers the most important variations without redundancy, earning its place with no wasted words.

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?

While there is no output schema, the description sufficiently conveys the behavior of a file-listing tool with search and compatibility options. It does not detail the return structure, but that is a minor gap given the tool's straightforward purpose and the rich parameter schema. The description is complete enough for an AI agent to select and invoke it correctly.

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 schema descriptions are detailed for every parameter. The tool description adds a bit about pid and global_search, but these largely duplicate what the schema already states. Thus, the description provides marginal value beyond the schema, staying at baseline 3.

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 uses a specific verb and resource ('List files and folders in the user's SimplyPrint storage'), and adds distinctive scope details: printer compatibility via pid and recursive search via global_search. This clearly differentiates it from sibling tools like get_folder, list_print_jobs, or delete_file.

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?

It provides clear context for when to use the tool and its variants: setting pid for printer compatibility and global_search for recursive searching. However, it does not explicitly mention when not to use it or name alternative tools, so it lacks exclusions or alternative guidance.

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.