Skip to main content
Glama

Save UI component defaults

save_ui_component_defaults

Save supported fill, text and layout values for an exact current revision. Free and deterministic; cannot manufacture unsupported capabilities or edit arbitrary SVG geometry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packIdYesOwned UI Pack ID.
revisionIdYes
componentIdYesOwned component ID within this pack.
configurationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false. The description adds real value with 'Free and deterministic' and the negative capability limits (cannot manufacture unsupported capabilities or edit arbitrary SVG geometry), but it does not explain the non-idempotent behavior or what a re-save against a stale revision does.

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 tight sentences, front-loaded with the core action and followed by constraints; no filler. Slightly terse given the tool's mutation semantics, but nothing is wasted.

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?

A mutation tool with four required parameters, an undocumented nested configuration object, and no output schema. The description never explains the configuration payload structure or what happens on subsequent saves despite idempotentHint=false, leaving a significant gap for an agent 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 50%, with packId and componentId documented but revisionId bare and the nested `configuration` object fully untyped (additionalProperties {}). The description's mention of 'fill, text and layout values' partially compensates by indicating what belongs in configuration, but the object's accepted shape remains undocumented.

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?

States a specific verb (Save) and resource (fill, text and layout values for a revision), which is concrete enough to distinguish it from siblings like revise_ui_pack_png or save_ui_pack_style. It does not, however, explicitly contrast itself with the other save-style siblings, so differentiation must be inferred.

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 / when-not-to-use guidance and no named alternative. The phrase 'for an exact current revision' hints at a precondition but does not say what to do if the revision has changed or which sibling to use for pack-level styling instead.

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