Skip to main content
Glama

unfour.api.create_folder

unfour.api.create_folder

Creates a folder in a saved API collection, placing it under a specified parent folder or at the collection root when no parent is given.

Instructions

Creates a folder in a saved API collection. Parent must belong to that collection; null means root.

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": {
      "collectionId": "<collectionId>",
      "parentFolderId": "<parentFolderId>",
      "name": "<name>"
    },
    "name": "unfour.api.create_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
workspaceIdNo
collectionIdYes
parentFolderIdYesnull selects the collection root.

Output Schema

NameRequiredDescriptionDefault
folderYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world mutation, so the safety bar is lower. The description adds a genuine validation invariant (the parent must live in the target collection), but says nothing about what happens on name collisions, whether the call is atomic, or 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?

Two tight sentences with zero filler; the core action comes first and the constraint follows immediately.

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?

An output schema exists and annotations cover the safety profile, so return values and side effects need not be restated. However, for a 4-parameter mutation with 25% schema coverage, the undefined workspaceId scoping and unstated duplicate-name behavior leave real gaps for an agent to fill by guessing.

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 only 25%, with just parentFolderId documented, so the description needs to compensate. It does explain the parent/collection relationship and the null-means-root convention, but repeats the schema's own parentFolderId note, and leaves name and especially workspaceId (its scoping relationship to collectionId) unexplained.

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: 'Creates a folder in a saved API collection.' That is clearly distinguishable from siblings such as delete_folder, move_folder, rename_folder, and create_collection. It does not explicitly name an alternative, but the create action is unambiguous.

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 description implies the create-in-collection context and states a precondition ('Parent must belong to that collection'), but gives no explicit when-to-use versus move_folder/rename_folder/create_collection guidance and no mention of permissions or duplicate-name handling.

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