Skip to main content
Glama
This connector has been deprecated

create_theme

Save a reusable style theme. style is a QR style object (fgColor, bgColor, dotType, cornerSquareType, etc.). Requires an OpenQR API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
styleYesQR style JSON (colours, dot/corner shapes, logo, gradient, frame…).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Without annotations, the description carries full behavioral burden. It discloses the API key requirement and the reusable nature of the theme, but omits success/failure behavior, idempotency (does it overwrite existing themes?), and possible side effects. Provides moderate transparency.

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 sentences with zero waste. The first sentence states the purpose ('Save a reusable style theme'), and the second elaborates on the style parameter and a key requirement. Front-loaded and efficient.

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?

For a 2-parameter tool with no output schema, the description covers the style parameter detail and API key requirement but leaves notable gaps: no mention of what the theme is used for (QR generation?), whether names must be unique, or what response the tool returns. Adequate but not fully complete.

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?

The schema has 50% coverage (only style has a description). The description adds specific field examples (fgColor, bgColor, dotType, cornerSquareType) that are not in the schema, adding meaning beyond structured data. However, the 'name' parameter still lacks guidance on uniqueness or format constraints.

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 description clearly states the verb ('Save') and resource ('reusable style theme'), distinguishing it from sibling tools like delete_theme and list_themes. However, it does not explicitly differentiate from create_dynamic_qr, which also involves style configuration.

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?

The only usage guidance is the prerequisite 'Requires an OpenQR API key.' It lacks context on when to create a theme versus using inline styles in create_dynamic_qr, or when to reuse existing themes. No alternatives or exclusions are mentioned.

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