Skip to main content
Glama

Update email image

lnkdrp_update_email_asset
Idempotent

Renames an uploaded email image and/or files it under projects, so it is found later by name (lnkdrp_list_email_assets query) or by project. name (1-120 characters) is also the image's alt text; templates load an image by its address, so a rename changes no template and no email already sent. projectIds replaces the projects this person can see (up to 20; [] for none); projects they cannot see stay as they are. At least one of name and projectIds. Tags go on with lnkdrp_tag (assetId). A change shows in the activity feed as email_asset.updated. Returns the image and changed (false when nothing was different). An image that is not in this workspace is not_found.

Input Schema

NameRequiredDescriptionDefault
nameNoThe image's new name (1-120 characters), also its alt text.
assetIdYesEmail image id (24 hex chars), from lnkdrp_upload_email_asset or lnkdrp_list_email_assets.
projectIdsNoThe projects the image is filed under (up to 20 ids; [] for none). It replaces the projects this person can see; projects they cannot see stay as they are.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description still adds real behavioral context: the replacement semantics of projectIds (invisible projects untouched), that renames break no template or sent email, the activity-feed entry, the return shape (image and a changed flag), and the not_found error for other workspaces. Useful, but partly restating schema text, so a 3.

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-loaded with the core action and effect, and every sentence carries information (rename effect, project semantics, tag pointer, return value, error case). Some clauses are compressed into dense parentheticals, which costs a bit of readability.

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?

No output schema exists, and the description explicitly covers the return value (image plus a changed flag) and the not_found failure mode. Combined with the parameter and cross-field constraints and the tagging split, an agent has everything needed to invoke it correctly.

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 meaning beyond the schema: name doubles as alt text, projectIds replaces only the caller-visible projects (up to 20, [] for none), and the cross-field constraint that at least one of name/projectIds must be supplied. That extra semantic layer justifies a 4.

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+resource (rename and/or file an uploaded email image under projects) and pins down the exact scope: it explicitly notes a rename changes no template and no sent email, distinguishing it from template-editing siblings. An agent can tell this apart from lnkdrp_update_email_template and lnkdrp_tag from the text alone.

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?

Explains the practical reason to call it (so the image is found later by name via lnkdrp_list_email_assets or by project) and routes tagging to lnkdrp_tag (assetId). It states the 'at least one of name and projectIds' precondition. It does not explicitly name the not-for case (e.g., use update_email_template for template renames, delete_email_asset to remove), so not a full 5.

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