Skip to main content
Glama

Set episode cover

set_episode_cover
Destructive

sets this episode's cover. image is base64 JPEG or PNG, at most 1 MiB decoded. It must be a square between 1400 and 3000 px, and the bytes must match contentType, or the call is rejected. Send a 1400 × 1400 px square, RGB with no transparency; resize a smaller one up first. Free. An episode with no cover keeps the show cover, or the episode default when the show has none.

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": {
      "episodeId": "<episodeId>",
      "contentType": "<contentType>",
      "image": "<image>"
    },
    "name": "set_episode_cover"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYes
episodeIdYes
contentTypeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Although annotations already flag destructiveHint=true, idempotentHint=false and readOnlyHint=false, the description adds substantive behavior beyond them: the call is rejected on contentType/byte mismatch, the 1 MiB decoded size ceiling, the 1400–3000 px square constraint, the recommendation to upload 1400×1400 RGB with no transparency, that the operation is free, and the fallback chain (show cover, then episode default) when no cover exists.

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 definition is dense and front-loaded with the action, then validation rules, then the fallback semantics; nearly every clause carries operational information. The short fragment "Free." is terse but communicates the absence of a billing/quota cost, though the sequence of constraints in one long sentence is somewhat packed.

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?

For a 3-required-parameter mutation with no output schema, the description covers the failure mode, the size/format limits, and the downstream fallback behavior an agent needs before calling. The one gap is what happens to a previously set episode cover on overwrite and what a successful response looks like.

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

Parameters5/5

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

Schema coverage is 0%, so the description must carry the parameters, and it largely does: image is base64 JPEG/PNG with a decoded-size cap and dimension/color requirements, and contentType must match the actual bytes. Only episodeId goes unmentioned, and its meaning is self-evident from "this episode's cover."

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 opening clause states a specific verb and resource: "sets this episode's cover." The episode-scoping is reinforced by contrast with the show cover, which separates it conceptually from the sibling set_cover, though that sibling is never named explicitly.

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 gives hard prerequisites (JPEG/PNG base64, ≤1 MiB decoded, square 1400–3000 px, bytes matching contentType) and notes the tool is free. What it does not do is route the agent between this and alternatives such as set_cover, nor state when a caller should or should not set an episode cover. Usage is implied rather than guided.

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