Skip to main content
Glama

set_app_background

Set the full-page homepage background of an editor app. source "generate" (default) makes an AI background that suits the logo, colours and business; "library" picks a matching image from the built-in background library; "url" uses imageUrl. Never ask the owner to supply an image when this tool is available.

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": {
      "appId": "<appId>"
    },
    "name": "set_app_background"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYes
sourceNo
imageUrlNohttps image, only for source "url".
directionNoOptional extra direction for a generated background, e.g. "warm autumn cafe".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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 disclosure burden. It reveals the default source and that generation is tailored to logo, colours and business, which is genuinely useful context, but it never says whether an existing background is overwritten, what permissions or ownership are required, or what the call returns.

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?

Three tight sentences with the core action front-loaded and mode semantics following immediately. No filler, though the final directive sentence mixes policy with definition slightly.

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 four-parameter mutation tool with no annotations and no output schema, the description covers mode selection well but leaves the mutation's side effects and permission requirements unstated. An agent could call it correctly but without knowing what it destroys or requires.

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 coverage is 50%. The description usefully expands on the three 'source' enum values, which goes beyond the schema's bare enum, but the 'direction' parameter's purpose is only conveyed by the schema itself, and 'appId' is unmentioned. It adds partial value over the schema rather than fully compensating.

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 and resource: 'Set the full-page homepage background of an editor app.' The qualifier 'full-page homepage background' separates it from adjacent tools like set_homepage_banners or update_app_style, though it never names those siblings explicitly.

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?

It clearly states which mode to pick: 'generate' for an AI background, 'library' for a built-in image, 'url' when an image is supplied. The closing instruction 'Never ask the owner to supply an image when this tool is available' is a strong usage directive. It stops short of saying when not to use the tool or naming alternatives.

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