Skip to main content
Glama

provider_get_theme_flavor_file

Read-onlyIdempotent

Fetches a specific theme file by theme folder, flavor (such as light or dark), and filename, enabling retrieval of theme resources without authentication or API version headers.

Instructions

Load a file of a theme with the given id, if it exists. This resource is accessible without authentication and without the need to specify Accept header containing an api version. GET /cloudapi/v1/themes/files/{themeRootFolder}/{flavor}/{fileName}

Input Schema

NameRequiredDescriptionDefault
flavorYesFor example light or dark version of the resource in the theme. (path)
fileNameYesThe name of the theme file resource to fetch. (path)
themeRootFolderYesThe name of the folder holding all files of a theme. (path)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description does add genuinely useful context beyond annotations — no authentication required and no versioned `Accept` header needed — plus the 'if it exists' hint at missing-file behavior. However it says nothing about the returned content type or how a missing file surfaces.

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?

Two short sentences plus the route, front-loaded with the action and resource. The auth/Accept-header sentence earns its place as non-obvious operational context. Slight waste in the inaccurate 'with the given id' phrase.

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 simple read-only file fetch with full schema coverage and rich annotations, the definition covers purpose, access conditions, and the underlying route. Missing only the shape of the response (raw file bytes vs. JSON) and missing-file error semantics, which are minor for this tool class.

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 100%, so all three path parameters are already documented in the schema; baseline 3 applies. The description's path template restates the parameter ordering but adds no format, encoding, or default guidance beyond the schema.

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?

Specific verb ('Load a file') and resource ('a file of a theme') with the flavor dimension made explicit via the path template. Minor wording mismatch: it says 'with the given id' but no `id` parameter exists — the identifiers are themeRootFolder/flavor/fileName — which slightly muddies the mapping. It also doesn't distinguish itself from the sibling `provider_get_theme_file`.

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

Usage Guidelines2/5

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

No guidance on when to use this versus the closely related `provider_get_theme_file`, `provider_get_active_theme`, or `provider_get_active_theme_main_flavor`. The only usage signal is the auth/Accept-header note, which is environmental rather than a when-to-use rule.

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