Skip to main content
Glama

Add a kit piece

add_kit_piece

An outfit, place or prop from an image, a link or a stock photo, cropped. The kit is what a music video is made from besides the artist’s photos: outfits (an artist’s), places and props (the workspace’s, for every artist). Each has a name and an @handle; a music video brief (direction) that mentions @handle uses that piece exactly as it is, and the director designs the rest. An outfit needs artist_id; a place or prop is the workspace's. The image is an upload or file_url (JPEG, PNG or WebP, at least 512 px on its short side, up to 15 MB, with rights_confirmed) or a stock_id from search_stock (credited, no rights needed). crop keeps a rectangle of it (fractions; at least 256 px on its short side), for a prop cut out of a bigger photo. handle follows the name (Blue set → blue-set; -2 when taken) unless given. Needs an active plan (402 plan_required without one; get_account: plan.active) and room in its storage (402 storage_full when it would not fit; get_account: storage).

Input Schema

NameRequiredDescriptionDefault
cropNoThe rectangle to keep, in fractions of the image: {"x","y","w","h"}; the whole image when omitted
kindYesoutfit (an artist’s), place or prop (the workspace’s)
nameYesWhat it is called, e.g. Blue set
handleNoIts @handle (default: from the name)
file_urlNoA public https URL of the image (or upload a file with the CLI)
stock_idNoA stock photo id from search_stock instead of an image
artist_idNoThe artist an outfit belongs to (outfits only)
descriptionNoWhat it is, for the director (a stock photo’s caption by default)
rights_confirmedNoYou have the rights to use the image (needed for an upload or file_url)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations by naming exact failure modes and their codes (402 plan_required, 402 storage_full, -2 handle collision), the validation thresholds (512 px short side, 15 MB, 256 px after crop, JPEG/PNG/WebP), and the fact that a brief mentioning @handle uses the piece verbatim. That is exactly the pre-call context the non-idempotent, open-world mutation annotation cannot carry.

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?

Front-loads the core definition and keeps nearly every sentence actionable (sources, constraints, handle derivation, error codes). It is a single dense block and spends a sentence on scene-setting ('The kit is what a music video is made from besides the artist's photos'), which is helpful framing but slightly padded.

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 9-parameter (1 nested) tool with no output schema, it covers sources, prerequisites, validation and error codes thoroughly enough to call it correctly. It never says what a successful call returns (e.g., the created handle or id), which is the one gap an agent would want filled.

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 baseline is 3, but the description adds genuine meaning: handle is derived from the name with a -2 suffix on collision, crop is for cutting a prop out of a larger photo and must keep at least 256 px, and rights_confirmed is only needed for upload/file_url (not stock_id). It does not clarify description vs. the stock caption default beyond the schema.

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 plus its scope: creating an outfit, place or prop kit piece from an image, link or stock photo, optionally cropped. It also draws the boundary between outfit (artist's) and place/prop (workspace's), which no sibling tool covers, so an agent can place it against add_artist_photos, search_stock and update_kit_piece immediately.

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 concrete routing rules: an outfit needs artist_id, a place or prop is the workspace's, stock_id comes from search_stock (credited, no rights needed) while an upload/file_url needs rights_confirmed plus an active plan and storage room. It does not explicitly point at update_kit_piece for edits or list_kit for inspection, so alternatives are implied rather than enumerated.

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