Skip to main content
Glama

create_folder

Create a mail folder inside a specified parent folder or at the top level of an account to organize messages and keep the mailbox structured.

Instructions

Create a mail folder inside parent_id, or at the top level of an account.

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": {
      "name": "<name>"
    },
    "name": "create_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
accountNo
parent_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already disclose readOnly=false, destructive=false, idempotent=false, and openWorld=false, so the safety profile is covered. The description adds the placement behavior (root vs. nested) beyond that, but says nothing about what happens on duplicate folder names, whether a missing parent_id fails or defaults, or permission requirements — meaningful gaps for a mutation tool.

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?

A single front-loaded sentence with no filler; the placement rule is stated before any optional detail. It is close to optimal in size, though the brevity comes at the cost of the behavioral and parameter detail noted elsewhere.

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 simple three-parameter create tool with no output schema, the definition covers the core action and nesting behavior. It is still missing what the call returns (folder id/object), duplicate-name handling, and account identifier format — details an agent needs to invoke it confidently and interpret the result.

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%, so the description must carry parameter meaning; it explains parent_id's role and gestures at the account parameter via "top level of an account." The required name parameter's semantics (uniqueness, naming constraints) and the account identifier format (id vs. email) remain undocumented in either place, 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 and resource ("Create a mail folder") plus placement semantics, so it is clearly distinguishable from rename_folder, move_folder, and delete_folder. It stops short of naming any sibling explicitly, keeping it at a solid 4 rather than 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?

The phrase "inside parent_id, or at the top level of an account" implicitly tells the agent the two usage modes (nested vs. root), which is useful. However, there is no explicit when-to-use/when-not guidance, no mention of prerequisites such as a valid account or existing parent, and no routing to list_folders to discover a parent_id.

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