Skip to main content
Glama

create_directory

Idempotent

Create a directory at path on the specified registered, authorized online device. device_id selects the target computer; path is a path on that computer. Mutates its filesystem; inspect existing paths and ensure the destination is correct.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "device_id": "<device_id>",
      "path": "<path>"
    },
    "name": "create_directory"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
device_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true). Beyond that, the description adds genuinely useful context: the device must be registered, authorized, and online, and the operation mutates the remote filesystem. It still omits what happens when the directory already exists (despite the idempotent hint) and any error behavior, so not a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with the action and target before the safety caveat; there is no padding. The closing sentence is partly boilerplate warning but is tailored to this operation and earns a place.

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

Completeness3/5

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

For a mutation tool with annotations but no output schema, the agent still lacks return-value information and existing-directory/error behavior, both of which the description could have supplied. Core what/where/precondition information is present, which keeps it adequate rather than poor.

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 description coverage is 0% and neither parameter has a schema description, so the description carries the burden. It does explain both: device_id selects the target computer and path is a path on that computer. But it adds no format guidance (absolute vs relative, separator conventions, validity constraints), so it only partially compensates.

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?

States a specific verb+resource ('Create a directory') with an explicit target scope ('on the specified registered, authorized online device'). It is clearly separable from siblings like write_file, move_path, and delete_path. It stops short of naming an alternative tool explicitly, which is why it is not a 5.

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?

Implies usage (create a directory on a remote device) and adds a safety precondition: 'inspect existing paths and ensure the destination is correct.' However, there is no explicit when-not guidance and no routing to sibling tools, so it stays at implied-usage level.

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.

Resources