Skip to main content
Glama

Choose who can publish an email template

lnkdrp_set_email_template_publish_mode
DestructiveIdempotent

Sets who may publish an email template (edit it live, publish a draft, restore a version): default (follow the workspace's setting, lnkdrp_update_settings), owners (the template's owner and workspace owners and admins), chosen (they and up to 5 more members, userIds by id or email address) or everyone (every member; viewers cannot publish). Everyone else saves their changes as a draft for them. chosen and everyone are not available on every plan: where the workspace's plan does not include them it is plan_limit, a saved choice is paused, and keeping or narrowing it still works. They are Pro; on Free the refusal carries upgradeUrl. The template's owner, workspace owners and admins, and in owners or chosen mode its publishers may change it; anyone else is forbidden with details.code cannot_edit_publishers. A private template is published by its owner only (validation). LinkDrop asks the person to confirm first. Returns publishing (mode, paused, publishers) and changed.

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": {
      "templateId": "<templateId>",
      "mode": "<mode>"
    },
    "name": "lnkdrp_set_email_template_publish_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYesdefault, owners, chosen (with userIds) or everyone.
confirmNoThe person's yes to the preview LinkDrop returned for this same action.
userIdsNoFor chosen: member user ids or email addresses (up to 5 after owners and admins are left out).
templateIdYesEmail template id (24 hex chars), from lnkdrp_list_email_templates.
alwaysAllowNoRecords the person's own standing permission for this tool on this connection.
confirmationTokenNoThe confirmationToken from that preview.

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?

Annotations already flag destructiveHint=true, idempotentHint=true and readOnlyHint=false, and the description goes well beyond them: plan limitations, what happens to a saved choice when a plan no longer includes it, the specific error codes (plan_limit, cannot_edit_publishers), the forbidden path for unauthorized callers, the private-template validation rule, and the confirmation-preview step before the change lands. That is the level of behavioral disclosure a mutation tool with real permission consequences needs.

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

Conciseness3/5

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

The core purpose is front-loaded, but the body is one long, heavily parenthesized run-on that mixes mode semantics, plan gating, permissions, validation and return shape into a single block. Every fact is relevant, yet the lack of sentence breaks or grouping makes it harder to scan than it needs to be.

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?

For a 6-parameter mutation tool with no output schema, the description covers everything an agent needs: what each mode does, who is authorized, plan edge cases with error codes, the confirmation-preview requirement, and the returned fields (publishing with mode, paused, publishers, plus changed). Little is left to inference.

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 schema already carries the parameter definitions and the baseline would be 3. The description earns above baseline by unpacking what each mode value means in terms of people (owners = template owner plus workspace owners and admins; chosen = they and up to 5 more members) and by clarifying that userIds accept ids or email addresses, which is more than the enum alone conveys.

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 ('Sets who may publish an email template') and immediately enumerates the four modes with their meanings, so an agent knows this is a policy/permission setter rather than an actual publish action. It also names the related sibling lnkdrp_update_settings as the source of the workspace default, which separates it from the draft-publishing tools.

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?

The mode list effectively encodes when each choice applies, and the description explains the plan-gating case (plan_limit, paused choices, keeping or narrowing still works) plus the private-template restriction. What is missing is an explicit pointer to the tool that actually publishes a draft (e.g. lnkdrp_publish_email_template_draft) for agents who arrive wanting to publish rather than to set policy.

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