Skip to main content
Glama

add_icon

Upload a custom SVG icon by name and markup, with optional dry-run preview and confirm-before-upload to safely validate the icon before adding it to your project.

Instructions

Upload a custom SVG icon.

Args: name: Icon name. svg: SVG markup. confirm: Must be True to upload. dry_run: Preview without uploading.

Returns: Upload 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": "add_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.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does usefully disclose the confirm gate and the non-mutating dry_run preview path. It omits key behavioral facts: whether uploading a duplicate name overwrites an existing icon, permission requirements, and any size/format limits.

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?

Front-loaded one-line purpose followed by a compact argument list; every line is scannable and there is no filler. The Returns section partially duplicates the output schema, though it is brief.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the two safety-relevant flags are covered, which is adequate for a simple upload tool. The remaining gaps—overwrite behavior and validation constraints—are moderate but not disqualifying.

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 compensate, and it does document all four parameters, notably the non-obvious rule that confirm must be True to perform the upload and that dry_run previews. The other entries ("Icon name.", "SVG markup.") only restate the parameter titles and add no format or constraint detail, so compensation is partial rather than full.

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 and resource ("Upload a custom SVG icon") that clearly separates it from sibling operations like edit_icon or delete_icon in intent. It does not explicitly name or contrast with those siblings, keeping it short of a 5.

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 description implicitly indicates usage through the confirm/dry_run semantics (preview first, then confirm to actually upload), which is real guidance for sequencing a call. However, it never states when to use this versus edit_icon for an existing icon, nor any prerequisite or exclusion.

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