Skip to main content
Glama

list_roots

Read-onlyIdempotent

Lists approved root names and access modes so you can discover valid root values before using other file tools; filesystem paths and file contents are not returned.

Instructions

List the approved root names and access modes. Call this before other file tools to discover valid root values; filesystem paths and file contents are not returned.

Input 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?

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, so safety is covered. The description still adds useful value by clarifying the scope of the return: only approved root names and access modes, explicitly excluding filesystem paths and file contents. It does not mention error or empty-result behavior, keeping it below 5.

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?

One sentence plus one clarifying clause, with the core purpose front-loaded and the negative scope statement following. Every clause earns its place.

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?

There is no output schema, so the description must convey return shape; it does so at a high level ('root names and access modes', not paths or contents). What is missing is any hint of result format or ordering, a minor gap for a simple zero-parameter read.

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?

The tool takes zero parameters, so the schema is trivially complete and there is nothing for the description to disambiguate. Baseline of 4 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 and resource ('List the approved root names and access modes') and immediately delimits it from what sibling file tools do by noting that filesystem paths and file contents are not returned. An agent can tell this apart from list_files or file_info without opening any 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?

Gives explicit sequencing guidance: 'Call this before other file tools to discover valid root values.' That is a clear when-to-use rule tied to sibling tools, but no when-not-to-use case or alternative is named, so it falls short of a full 5.

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