Skip to main content
Glama

list_file_roots

Read-onlyIdempotent

Lists the printer’s exposed file roots (G-codes, config, logs, timelapse) and their permissions so you know where you can read and write.

Instructions

The file roots this printer exposes (gcodes, config, logs, timelapse) with their permissions. Tells you where you may read and write.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_file_roots"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so safety is covered structurally. The description adds one genuinely non-structured piece of information: that each root is returned with permissions indicating read vs write access. It does not describe behavior when a root is absent, when permissions are unavailable, or whether the result varies by connection/auth state.

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, zero filler, with the resource and its enumeration front-loaded and the practical payoff (permission discovery) second. Nothing repeats the tool name or the annotations.

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 no parameters and an output schema present, the description only needs to orient the agent, which it does by naming the root types and the permission payload. A small gap remains: it does not say whether this must be called before operations on a given root, nor whether roots can be restricted or missing for a given printer.

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?

The tool takes zero parameters (empty object schema, 100% coverage), so there is nothing for the description to disambiguate; the baseline for a no-parameter tool applies. The description correctly implies no arguments are needed by framing the call as a simple enumeration.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (the printer's file roots) and enumerates the concrete kinds returned (gcodes, config, logs, timelapse), so the agent knows this is a discovery call rather than a directory content listing. It stops short of explicitly contrasting itself with list_directory or list_gcode_files, so sibling differentiation is only implied.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Tells you where you may read and write" implies the call is a prerequisite step before file operations, which gives usable context. However, there is no explicit when-to-use statement, no exclusion (e.g. 'use list_directory to enumerate contents of a root'), and no note about prerequisites such as authentication or an active printer connection.

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

Deploy Server

Other Tools