Skip to main content
Glama

Update email image

lnkdrp_update_email_asset
DestructiveIdempotent

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.

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": {
      "assetId": "<assetId>"
    },
    "name": "lnkdrp_update_email_asset"
  }
}

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.6/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and idempotentHint=true, and the description adds real context beyond that: projectIds 'replaces the projects this person can see' while invisible projects are untouched, a rename propagates to alt text but not to templates, and the change surfaces in the activity feed as email_asset.updated. It also discloses the return payload ('the image and changed (false when nothing was different)') and the not_found error for cross-workspace assets, which annotations cannot express.

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?

Purpose is front-loaded in the opening clause and each following sentence carries distinct information (alt-text effect, replace semantics, tag routing, activity feed, return value, error case). The prose is dense with parentheticals and long semicolon-linked sentences, which costs a little readability, but no sentence is filler.

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?

There is no output schema, and the description compensates by describing the return shape and the 'changed' flag plus the not_found case. For a three-parameter mutation tool, nothing an agent needs in order to call it correctly or interpret the result is missing.

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 adds meaning the schema does not: name doubles as the image's alt text, and projectIds is scoped to the caller's visibility with '[] for none'. These are semantic consequences, not restatements of type or length constraints.

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 first clause states a specific verb+resource pair ('Renames an uploaded email image and/or files it under projects') and immediately ties it to the discovery path ('found later by name (lnkdrp_list_email_assets query) or by project'). An agent can distinguish this from lnkdrp_delete_email_asset, lnkdrp_tag, and lnkdrp_upload_email_asset without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the input precondition ('At least one of name and projectIds'), routes a related need to a sibling explicitly ('Tags go on with lnkdrp_tag (assetId)'), and rules out an expected but unnecessary concern ('a rename changes no template and no email already sent'). The agent knows both when to call it and where to send adjacent work.

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