Skip to main content
Glama

Get folder

get_folder
Read-only

Get details of a specific folder by its token. Returns the folder's title, description, asset count, parent folder, and child folder count. published_page says whether the folder's public page is live (active), its url (null unless live) and the template its page design uses (can be set on a page that is not live). asset_count covers the folder AND every folder nested under it (each group/stack counted once); list_assets on a folder returns only assets sitting directly on it unless you pass nested_assets: true, so compare the count against that, not the plain listing.

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

Input Schema

NameRequiredDescriptionDefault
tokenYesFolder token, as returned by list_folders, list_subfolders or ai_search — the parameter name is `token`, not `folder_token`. The id in a share link (`/s/{workspace}/{id}`) is NOT a folder token: pass the link to resolve_share_link, which returns the folder. Nothing converts a published page URL: look that folder up by title with list_folders `query` or ai_search instead of taking an id out of a URL, a spreadsheet or an earlier session.
organizationNoWorkspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare a non-destructive read-only, closed-world operation, so the safety profile is covered. The description does add real behavioral detail: the nested-inclusive counting rule for asset_count and the state-dependent semantics of `url` (null unless live) and `template` (settable on a non-live page). It is silent on pagination, error behavior for invalid tokens, and whether counts are cached or exact.

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?

Front-loaded with the purpose, then the return fields, then the caveats. Every sentence carries information, though the final sentence bundles the nested-count rule and the list_assets comparison into one long clause that takes a second read.

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?

There is no output schema, so the description must carry the return-value burden, and it does: it names the fields, explains the two non-obvious ones, and warns about the counting mismatch with list_assets. Nothing essential for correct interpretation is missing given the rich input schema.

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% and the schema text for `token` and `organization` is exceptionally detailed, so the baseline of 3 applies. The description adds no meaning about the two parameters themselves; its extra detail concerns return values, not inputs.

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?

States a specific verb and resource ('Get details of a specific folder by its token') and enumerates the returned fields, including the non-obvious `published_page` and `asset_count` semantics. An agent can distinguish this read-single-folder tool from listing or descendant tools without opening a schema.

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

Usage Guidelines4/5

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

Provides concrete operational guidance: how to interpret `asset_count` and explicit instruction to compare it against list_assets with `nested_assets: true` rather than the plain listing. It does not explicitly route between get_folder and list_folders/list_folder_descendants, so it stops short of a full when-to-use map.

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