Skip to main content
Glama

get_folders

Read-onlyIdempotent

Fetches all folder/category groupings from the Lanis dashboard so you can see how apps are organized, including each folder's name, icon symbol, and optional colour.

Instructions

Return all folder/category groupings from the Lanis dashboard.

Fetches the organizational folders that group apps on the Lanis portal. Each folder has a name, a symbol (Font Awesome / Glyphicons icon), and an optional colour.

Args: response_format: Output format - 'markdown' (default) or 'json'.

Returns: List of folders. JSON schema: { "count": int, "folders": [ { "name": str, "symbol": str, "colour": str # may be empty if no colour is set } ] }

Error Handling: - Returns "Error: ..." on API or auth failure - Returns "No folders found." if none are available

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_folders"
  }
}

Input Schema

NameRequiredDescriptionDefault
response_formatNomarkdown

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds real value beyond that: it discloses that auth or API failures return an 'Error: ...' string rather than raising, and that an empty result yields 'No folders found.'. Rate limits and pagination are not addressed, which keeps it from 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.

Conciseness3/5

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

The purpose is front-loaded and the first two sentences earn their place. However, the 'Returns' section reproduces a full JSON schema even though the tool has a real output schema, which is duplicated content, and the docstring-style Args/Returns/Error Handling scaffolding is heavier than needed.

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?

For a single-optional-parameter read tool with an output schema and full annotations, the description covers purpose, empty-state behavior, and error signaling. Nearly complete; the only omission is any hint about the size of the folder list or ordering.

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 parameter, and it does: 'response_format: Output format - 'markdown' (default) or 'json'' documents both enum values and the default. It stops short of explaining when to prefer json (e.g. programmatic parsing), leaving a small gap.

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+resource: 'Return all folder/category groupings from the Lanis dashboard', then sharpens it with 'organizational folders that group apps on the Lanis portal'. That is clearly distinguishable from siblings like get_apps or get_available_apps, which deal with apps rather than their grouping containers.

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?

Usage is implied by the description of what a folder is, but there is no explicit when-to-use or when-not-to-use guidance, and no alternative is named. An agent can infer this is a discovery call for category structure, but must guess the relationship to get_apps.

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