Skip to main content
Glama
Majrooo

majrooo-mcp-devkit

by Majrooo

list_allowed_roots

Lists allowed project roots and their friendly names, plus the cross-root read flag, so you can pick a valid cwd for running commands in another project.

Instructions

Returns the allowed-roots configuration of this MCP server: the primary project (MCP_PROJECT_ROOT), all registered roots (MCP_EXTRA_ROOTS, including globs), the existing projects under them (the list of directories you can use as "cwd") and whether MCP_BLOCK_CROSS_ROOT_READS is enabled. Use THIS tool whenever you need to find out whether — and with which "cwd" parameter — you can run a command in another project. It runs no commands — it only reads the configuration and lists directories. A project with a friendly name is shown as { path, name } and you can pass its "name" as "cwd".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It clearly states the tool reads configuration only, lists directories, does not execute commands, and describes the output shape ({ path, name }). It also explains how the output relates to the cwd parameter, which is valuable non-obvious behavior. Minor omission: no mention of error conditions or permission requirements, but for a read-only listing tool this is adequate.

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 dense but every sentence earns its place: the first defines the return payload, the second gives an explicit when-to-use directive, the third clarifies side-effect-free behavior, and the fourth explains the name-to-cwd mapping. No filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and no annotations, the description fully compensates by listing the returned fields, explaining the cwd implication, and clarifying the read-only nature. For a zero-parameter informational tool, nothing essential is missing.

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?

There are zero parameters, so the schema provides full coverage. The description adds useful usage semantics about passing a project's 'name' as 'cwd' elsewhere, which goes beyond what an empty schema could convey. Baseline 4 for zero parameters is appropriate.

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 states a specific verb ('Returns') and resource ('allowed-roots configuration') and enumerates exactly what is included: primary project, extra roots, globs, existing directories, and cross-root read status. It clearly differentiates itself from sibling tools by noting it runs no commands and only reads configuration and lists directories.

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?

The description gives explicit guidance: 'Use THIS tool whenever you need to find out whether — and with which cwd parameter — you can run a command in another project.' It also implicitly excludes command execution by stating 'It runs no commands.' However, it does not name specific alternative tools, relying on context from sibling names rather than explicit contrast.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Majrooo/majrooo-mcp-devkit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server