Skip to main content
Glama
axross-headless-mcp

axross-headless-mcp

Create folder

create_directory
Idempotent

Creates a folder and any missing parent directories so a required path exists before writing files into it.

Instructions

Create a folder, with missing parents on the local disk. Use when: a folder must exist before writing into it. Instead: copy_tree and copy_path_to_backend make their destinations. Behavior: only adds. A repeat succeeds locally. Remote backends create no parents, and an existing folder fails there with 'exists'. A file at path fails. Time limit: 30 s. Returns: {ok: true}.

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": "create_directory"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoThe folder to create (absolute, or relative to the MCP root). Required unless path_b64 is given.
backendNoBackend id from list_backends; omit for the default.
path_b64Nopath as base64 of its raw bytes, for non-UTF-8 names; replaces path.

Output Schema

NameRequiredDescriptionDefault
okYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.181

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations it discloses that the tool only adds, that repeats succeed locally, that remote backends do not create parents and fail with 'exists' on an existing folder, that a file at the path fails, and a 30 s time limit. The remote 'exists' failure slightly qualifies the idempotentHint but does not contradict it, since no state changes on a repeat; the only minor gap is no mention of permission requirements.

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?

It is tightly structured with labelled segments (Use when / Instead / Behavior / Returns) and front-loads the core purpose before the caveats. Every sentence carries information: no filler, no restatement of the title.

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?

For a three-parameter, non-destructive creation tool it covers purpose, preconditions, alternatives, local-vs-remote divergence, failure modes and a timeout. An output schema exists, so the brief 'Returns: {ok: true}' is a harmless confirmation rather than a needed explanation of return values.

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%, so the schema already documents path, backend and path_b64, and the baseline of 3 applies. The description adds only indirect meaning — the parent-creation behavior of path and the differing semantics of backend (local vs remote) — without explaining the base64 fallback or the absolute-vs-relative rule beyond what the schema says.

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 opens with a specific verb and resource ('Create a folder') and immediately scopes it with 'with missing parents on the local disk', which tells an agent exactly what operation is performed and where. It is easily distinguished from siblings like copy_tree and list_directory.

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

Usage Guidelines5/5

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

It gives an explicit 'Use when: a folder must exist before writing into it' condition and a matching 'Instead: copy_tree and copy_path_to_backend make their destinations', routing the agent away from redundant calls. Both the when and the alternative are stated rather than inferred.

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