Skip to main content
Glama

Get form theme

formTheme_get
Read-only

Get the theme for one color mode of a form. Returns theme (the form's custom theme or null when none set), defaultTheme (neutral baseline matching the schema; for a first apply, call formTheme_set with merge:false and supply all 7 sections (foundation, input, choice, rating, button, question, feedback); for subsequent tweaks, use merge:true to patch only changed fields), and hasTheme (whether a custom theme exists).

Input Schema

NameRequiredDescriptionDefault
modeYesColor-mode theme to operate on. Light and dark themes are stored independently.
formIdYesThe form ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / formId / minLength
      Added value: +1
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive), but the description adds real behavioral detail: theme is null when unset, defaultTheme is a schema-matching neutral baseline, and hasTheme signals existence. The 7-section / merge guidance is useful context even if it targets the sibling.

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?

Purpose is front-loaded in the first sentence, but the long parenthetical explaining merge:false versus merge:true and the 7 sections belongs to formTheme_set and consumes most of the text without serving this getter's invocation.

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 no output schema present, the description usefully enumerates the returned fields (theme, defaultTheme, hasTheme) and their semantics. Combined with annotations covering safety, an agent has enough to call it correctly.

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%, so formId and the mode enum are already fully documented. The description's 'one color mode' phrasing adds nothing beyond the schema, so the baseline 3 is appropriate.

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 opening sentence states a specific verb and resource: 'Get the theme for one color mode of a form,' which an agent can act on immediately. It distinguishes itself from the setter by naming formTheme_set, though the differentiation is embedded in return-value discussion rather than framed as a purpose contrast.

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?

There is no explicit statement of when to call formTheme_get itself or its prerequisites. The merge:false vs merge:true guidance is aimed at formTheme_set, so usage guidance for this tool is only implied through the read-then-set workflow.

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.