Skip to main content
Glama

Set the app icon

set_app_icon
Idempotent

Uploads the app's icon (base64 PNG, JPEG, WebP or GIF, up to 6 MB; the app's own 1024 px icon from the repository is ideal). Shown in the chat's header, emails and the dashboard. Cropped square and resized to 512 px. Owners only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
imageYesBase64 of the image file (or a data: URL).
app_idNoThe app's id (from list_apps). Optional when there is only one.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_idYesThe app.
icon_urlYesThe new icon's URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "app_id": {
      +      "description": "The app.",
      +      "format": "uuid",
      +      "type": "string"
      +    },
      +    "icon_url": {
      +      "description": "The new icon's URL.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "app_id",
      +    "icon_url"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations cover safety (readOnlyHint=false, idempotentHint=true, destructiveHint=false), and the description layers on non-obvious behavior the annotations cannot express: accepted formats, a 6 MB cap, server-side square cropping and 512 px resizing, and where the icon surfaces (chat header, emails, dashboard). That is exactly the extra context an agent needs before committing an upload.

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?

A single dense paragraph that front-loads the verb, then the payload constraints, then the effect and permission requirement. Every clause carries information; no filler sentences.

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

Completeness5/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 described. Between the annotations (idempotent, non-destructive writes), the schema, and the description's format/size/processing/permission details, an agent has everything required to call this correctly.

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 coverage is 100%, so the baseline is 3, but the description goes beyond the schema's terse 'Base64 of the image file' by enumerating accepted formats (PNG, JPEG, WebP, GIF) and the 6 MB limit, plus guidance on the ideal source image. It adds real semantic value, though it doesn't discuss the app_id fallback beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Uploads the app's icon') that is unmistakable and clearly distinct from siblings like set_android_push_key, set_ios_push_key, and update_app. The agent knows exactly what this does without inspecting the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear access precondition ('Owners only') and a recommended source ('the app's own 1024 px icon from the repository is ideal'), which tells the agent when invocation will succeed. It stops short of naming alternatives or saying when not to use this tool (e.g., versus update_app).

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