Skip to main content
Glama

edit_icon

Replace an existing custom icon with new SVG markup, with optional dry-run preview and confirmation before updating.

Instructions

Replace an existing custom icon.

Args: name: Icon name. svg: New SVG markup. confirm: Must be True to update. dry_run: Preview without updating.

Returns: Update acknowledgement or a preview payload.

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": {
      "name": "<name>",
      "svg": "<svg>"
    },
    "name": "edit_icon"
  }
}

Input Schema

NameRequiredDescriptionDefault
svgYes
nameYes
confirmNo
dry_runNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does meaningful work: it discloses that confirm must be True for the update to take effect and that dry_run produces a preview instead of a mutation, which is the key safety trait for a write tool. It does not state what happens when confirm is false (error vs no-op) or whether the replacement is reversible, so it falls short of fully transparent.

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?

The purpose line is front-loaded and the Args block is compact with no filler, so every sentence earns its place. The docstring-style Returns line is largely redundant given an output schema exists, which costs a bit of tightness.

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 no annotations, the definition covers the confirmation gate and preview path, which is the essential context. It omits prerequisites such as whether the named icon must already exist, how errors surface when confirm is omitted, and whether other objects referencing the icon are affected; the presence of an output schema excuses the thin return description.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description is the only source of parameter meaning, and it covers all four: name, svg, confirm ("must be True to update"), and dry_run ("preview without updating"). The confirm semantics in particular add real value beyond the bare schema default of false, though name format and SVG constraints remain unspecified.

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 opens with a specific verb+resource: "Replace an existing custom icon," which clearly signals mutation of an existing icon rather than creation. The word "existing" implicitly separates it from add_icon/delete_icon, but those alternatives are never named, so differentiation is left to 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?

Usage is only implied: "Replace an existing custom icon" suggests the icon must already exist, and the confirm/dry_run notes hint at a safe preview-then-commit flow. There is no explicit statement of when to use this versus add_icon or delete_icon, nor any prerequisite or exclusion guidance.

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

Deploy Server

Other Tools