Skip to main content
Glama

ui_set_style

Sets the Canvas formatting source, template path, output folder, and file name so Blueprint builds the planned workbook or slide deck using the chosen style and output location.

Instructions

Canvas: set the formatting source, template path, output folder and file name

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": {
      "project": "<project>"
    },
    "name": "ui_set_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYes
styleIdNo
fileNameNo
outputDirNo
templatePathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it says nothing about side effects, persistence, whether unset fields are cleared, or whether files are actually written to the given output folder. It also omits permission or state requirements. Only the implied mutating nature of 'set' conveys any behavior.

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?

It is a single short sentence with the verb front-loaded and no filler, which is good. But the terseness comes at the cost of substance rather than efficiency, and the 'Canvas:' prefix adds little orientation value for an agent choosing among 30 siblings.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has five parameters, zero schema descriptions, no annotations, and no output schema, so the description is the only documentation an agent gets. Under those conditions a single clause listing field names is inadequate: nothing explains interaction between parameters, defaults, or resulting state.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 compensate, but it only gestures at four of five parameters in vague terms and omits the required 'project'. It gives no format or value constraints for styleId, templatePath, outputDir, or fileName, and leaves the relationship between a 'style' and a 'template path' unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a verb ('set') and four setting fields (formatting source, template path, output folder, file name), so the general domain is visible. However, it never says what the tool actually accomplishes — whether it applies a style, only records UI configuration, or triggers a build — and the phrase 'formatting source' does not clearly map to the tool's own name 'ui_set_style'. No sibling is differentiated (e.g. ui_styles, apply_template, ui_set_build_options).

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?

There is no when-to-use guidance, no mention of prerequisites, and no named alternative. It does not even state that a project must already exist, despite 'project' being a required parameter. An agent would have to guess when this should be called versus ui_set_build_options or apply_template.

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