Skip to main content
Glama

clear_styles

Removes all style layers from a molecule so it can be restyled from scratch.

Instructions

Remove every style layer from a molecule so it can be restyled from scratch.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "clear_styles"
  }
}

Input Schema

NameRequiredDescriptionDefault
moleculeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden: it does not say whether the removal is reversible/undoable, whether it applies only to the given molecule or to all molecules in the scene, or what the tool returns. The one behavioral fact it does convey — that all style layers are wiped, not just one — is the most important one, but the destructive extent and recovery story remain unstated.

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?

One sentence, verb-first, zero filler. Nothing is padded and the purpose clause is front-loaded.

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?

For a destructive, zero-annotation tool with an undocumented nullable parameter and ambiguous overlap with remove_style and delete_molecule, the definition is under-specified. An agent knows roughly what it does but not which molecule it will affect or how to undo it.

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% and the single parameter is nullable with a default of null, which is exactly the case where the description must explain the null semantics (current/active molecule vs. all molecules). The description never mentions the molecule argument at all, so the agent gets no guidance on what to pass.

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 gives a specific verb plus resource ("Remove every style layer from a molecule") and the quantifier "every" hints at the scope difference from remove_style. It stops short of naming remove_style or add_style, so an agent must still infer the boundary between this and the single-style sibling.

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?

The trailing clause "so it can be restyled from scratch" implies the usage context (reset before applying new styles), which is helpful. There is no explicit when-not guidance and no reference to the adjacent tools remove_style or add_style, so the choice among them is left to inference.

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