Skip to main content
Glama
DelineaMCP

DelineaMCP

Official
by DelineaXPM

Get Folder

get_folder
Read-only

Retrieve metadata for a folder by its ID. Set all_children to include the full descendant tree, or leave it false to avoid large responses.

Instructions

Return folder metadata for the given folder ID.

Parameters

id: Identifier of the folder to fetch. all_children: When True include childFolders with the full descendant tree, which can be large. To page through direct children only, use folder_management("list", params={"filter.parentFolderId": id}).

Returns

dict Folder metadata including children or an error message.

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

Input Schema

NameRequiredDescriptionDefault
idYes
all_childrenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A3.8/5.0
Behavior4/5

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

readOnlyHint=true is consistent with a fetch operation, and the description adds real behavioral context beyond annotations: the size/performance risk of all_children and the fact that failures surface as an "error" key in the returned dict rather than as a raised exception. It does not discuss permissions or access constraints on folders.

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?

The purpose sentence is front-loaded and every subsequent line carries information. The docstring-style "Parameters" and "Returns" section headers cost a little space but keep the two parameters scannable.

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

Completeness4/5

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

With two simple parameters, no output schema, and no nested objects, the description covers the inputs, the size caveat of the expansion flag, and the shape of the return including the error case. An agent has enough to invoke and interpret it correctly; only access requirements are unaddressed.

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?

Schema description coverage is 0%, so the description must carry the load, and it does: it defines what id refers to and explains that all_children controls whether childFolders contains the full descendant tree, including a concrete alternative for paging direct children. Minor gap remains around what fields the metadata dict otherwise contains.

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?

The first sentence gives a specific verb and resource ("Return folder metadata for the given folder ID"), which cleanly separates it from search tools like search_folders. It stops short of explicitly contrasting with siblings other than folder_management, so it is clear but not fully differentiated.

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?

Guidance is scoped to the all_children flag: it warns the full descendant tree "can be large" and names folder_management("list", ...) as the paging alternative for direct children. There is no explicit guidance on when to choose get_folder over search_folders or how to obtain the id in the first place, so usage is implied rather than fully stated.

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