Skip to main content
Glama

Attach Lingard Card Images

lingard_attach_card_images
Destructive

Attaches supplied images to existing Lingard cards. It does not generate images: each entry carries the image itself as imageBase64 or dataUri, or an imageUrl that the server downloads. PNG, JPEG, WebP, and SVG inputs are converted to WebP and uploaded as private custom card images; an image the card already has is replaced. commit=true writes.

Input Schema

NameRequiredDescriptionDefault
commitNoTrue uploads and attaches. Default false returns a dry-run preview without writing.
imagesYesOne entry per card to illustrate. Each entry needs a card selector (`cardId` or `title`) and exactly one image source (`imageBase64`, `dataUri`, or `imageUrl`).
targetLangYes
collectionUuidNo
collectionTitleNo

Output Schema

NameRequiredDescriptionDefault
okYes
imagesYes
skippedYes
summaryYes
committedYes
targetLangYes
upsertResultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructive, non-idempotent, open-world; the description adds the substance behind that - existing card images are replaced, input formats are converted to WebP, and uploads land as private custom images. It stops short of covering permissions, size limits, or partial-failure behavior across a multi-entry batch.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, no filler, with the core action first, the negative constraint second, and the format/write semantics last. Every sentence carries distinct information.

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 destructive batch mutation with an output schema present, the description covers intent, image sourcing, conversion, replacement, and the dry-run switch. The one missing piece is what targetLang and the top-level collection fields mean, which matters for correct invocation.

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 only 40%, and the description compensates for the image-source fields by explaining that each entry carries exactly one of imageBase64, dataUri, or imageUrl and that imageUrl is server-downloaded. However, top-level targetLang, collectionUuid, and collectionTitle get no explanation in either schema or description, leaving a real gap.

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 - 'Attaches supplied images to existing Lingard cards' - and immediately rules out the adjacent capability ('It does not generate images'). No sibling tool does image attachment, so a reader can place it unambiguously.

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 a clear usage context: images must be supplied as base64/dataUri/url, and 'commit=true writes' implies the default is a dry run. It doesn't name a sibling alternative when a card is missing or when this should be preferred over other card-editing tools, but the when-to-use framing is solid.

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