Skip to main content
Glama

Save UI Pack style

save_ui_pack_style

Save a pack-specific style for future quotes using the current pack updatedAt. Free; preserves project defaults and existing component revisions. A stale timestamp is rejected.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packIdYesOwned UI Pack ID.
styleGuideYes
expectedUpdatedAtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly=false, idempotent=false, destructive=false, openWorld=true). The description adds genuinely new behavioral context: the operation is free, it preserves project defaults and existing component revisions (what is NOT destroyed), and stale timestamps are rejected. This is useful disclosure beyond structured fields.

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?

Three tight sentences, front-loaded with the action, then constraints. Every clause earns its place with no filler.

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 mutation tool with annotations carrying the safety profile and no output schema, the description covers cost, preservation, and concurrency well. It stops short of describing the shape/expectations of the nested styleGuide object, which is the most ambiguous part of the call.

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 only 33%, so the description must compensate. It clarifies expectedUpdatedAt semantics (use the current pack updatedAt, stale values rejected), which the bare date-time schema does not. But styleGuide, a nested free-form object, remains completely unexplained in both description and schema, leaving a real gap.

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+resource: saving a 'pack-specific style'. The qualifier 'pack-specific' implicitly separates it from save_project_style_guide, but the sibling is never named outright. Clear purpose, though sibling differentiation relies on inference.

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?

Gives context ('for future quotes', 'Free') and a hard condition ('A stale timestamp is rejected'), which tells the agent this is an optimistic-concurrency write. However, it never explains when to prefer this over save_project_style_guide or save_ui_component_defaults, leaving alternative selection to inference.

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