Skip to main content
Glama

Set the artist picture

set_artist_picture
Idempotent

Choose which photo is the artist’s picture, and how it is cropped to a square. The picture is a square cut from one of the artist’s photos; the photo itself is unchanged. The first photo becomes the picture automatically, centered. crop is in fractions of the photo: x/y the top-left corner, size the side relative to the photo’s short side; leave it out to center.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cropNoThe square to keep, in fractions of the photo; centered when omitted
photo_idYesOne of the artist’s photos (list_artist_photos)
artist_idYesThe artist id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and readOnlyHint=false, so the safety profile is partially covered. The description adds meaningful context beyond them: the photo itself is not modified (only a square cut is used), and the automatic centered default when no crop is given. It does not mention permissions/auth or repeat-call behavior, but it corroborates the non-destructive, idempotent profile rather than contradicting it.

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 action front-loaded, followed by the default behavior and the crop semantics. Every sentence carries information (scope, default, parameter meaning), with no filler, though the crop clause is dense enough that it reads as a single packed unit rather than clearly separated points.

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-parameter mutation with nested object, 100% schema coverage, no output schema and mostly covered annotations, the description supplies the missing pieces: crop coordinate semantics and default centering behavior. It lacks only return-value/permission detail, which is minor here since no output schema exists and the annotations cover the safety profile.

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 further than the schema: it explains that x/y are the top-left corner in fractions of the photo and size is the side relative to the photo's short side — semantics the nested x/y/size properties do not document individually. That meaningfully reduces ambiguity for a non-obvious numeric crop.

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?

The description states a specific verb and resource with scope: choosing which photo is the artist's picture and how it is cropped to a square, plus the invariant that the underlying photo is unchanged. This is clearly distinct from siblings like list_artist_photos (which it names via the schema) and delete_artist_photo. An agent can tell what this tool does without opening 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?

It gives useful default context — the first photo becomes the picture automatically, centered — and states that omitting crop centers the square. It implies the prerequisite that the photo must be one of the artist's photos and points at list_artist_photos in the schema. However, it names no alternative tool or explicit when-not condition (e.g., adding photos first via add_artist_photos), so it stops short of full routing guidance.

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