Skip to main content
Glama

Put a GIF on a link

set_gif
DestructiveIdempotent

Makes a KLIPY GIF the wallpaper of a link the person made, from a KLIPY GIF's address and id. For KLIPY GIFs only; a library look or the person's own upload goes on by its id. It replaces the wallpaper the link had, plays from KLIPY and is never stored by LFG. An address that is not a KLIPY GIF returns an error.

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": {
      "id": "<id>",
      "gif_url": "<gif_url>",
      "gif_id": "<gif_id>"
    },
    "name": "set_gif"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe link's id.
queryNoWhat was searched to find it, if anything.
gif_idYesThe GIF's id.
gif_urlYesThe GIF's address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / id / description
      Previous value: -"The alarm's id."New value: +"The link's id."
    • removedInput schema / properties / id / format
      Removed value: -"uuid"
    • changedInput schema / properties / id / pattern
      Previous value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"New value: +"^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already flag destructiveHint and openWorldHint, but the description adds behavior they do not convey: the existing wallpaper is replaced, playback is served from KLIPY, nothing is stored by LFG, and a non-KLIPY address produces an error. Those are exactly the operational and data-retention facts an agent needs before overwriting a link's wallpaper.

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 core action is front-loaded in the first clause, and every following sentence adds a constraint, a replacement warning, or an error condition. Phrasing is slightly awkward in places ('goes on by its id'), but there is no filler.

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?

For a destructive, open-world mutation with no output schema, the description covers what is overwritten, where playback is served from, storage behavior, and the failure mode. The remaining gap—response shape and permission requirements—is minor against the annotations' explicit destructive flag.

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 100%, so each parameter is already documented, and the description mainly restates that the GIF comes from an address plus an id. The fourth parameter, query, is never mentioned in the description, and no format or constraint detail is added beyond the schema. Baseline 3 is appropriate.

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: making a KLIPY GIF the wallpaper of a link the person made, sourced from a GIF address and id. It also scopes the tool to KLIPY GIFs and notes that library looks or personal uploads use a different id-based path, which hints at sibling separation without naming the sibling.

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?

Explicitly states the use condition (KLIPY GIFs only) and the when-not case (a library look or the person's own upload goes on by its id), plus the error condition for non-KLIPY addresses. It never names the alternative tool, so the agent must infer which sibling handles the non-KLIPY case.

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.