Skip to main content
Glama

update_style

Destructive

Update a style name, status, or selected piece IDs. Adding or removing pieces here changes the shared SVG building blocks for every part in this style.

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": {
      "styleId": "<styleId>",
      "updates": "<updates>"
    },
    "name": "update_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleIdYes
updatesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the mutation risk is known. The description adds real value beyond that by disclosing blast radius: editing pieceIds changes the shared SVG building blocks for every part in the style. It does not say whether omitted fields are left untouched, whether pieceIds replaces or appends to the existing set, or whether the change is reversible.

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 with no filler, and the field list is front-loaded before the consequence warning. Nothing redundant is included.

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 destructive mutation with a nested object and no output schema, the description covers what can change and the cross-style impact, which is the most important part. It still leaves the merge-vs-replace semantics of `updates` and `pieceIds` unexplained, which an agent needs in order 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 description coverage is 0%, so the description must carry parameter meaning, and it does name all three updatable fields in the nested `updates` object. However, it adds no semantics beyond the names: it never clarifies that pieceIds is an ID list capped at 100, whether that list is a full replacement or a delta, or what values `status` accepts.

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 plus resource and enumerates the three mutable fields (name, status, pieceIds), which maps directly onto the nested `updates` object. The 'update' prefix plus the sibling set (create_style, get_style, list_styles) makes the CRUD role unambiguous, though it never names a sibling explicitly.

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 guidance on when to reach for this tool versus create_style or get_style, and no prerequisites or permission requirements are stated. The only guidance-like content is a warning about side effects, which is behavioral rather than usage selection.

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