Skip to main content
Glama

Choose who can publish an email template

lnkdrp_set_email_template_publish_mode
Idempotent

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 Pro (plan_limit with upgradeUrl on Free; a saved choice there is paused, and keeping or narrowing it still works). 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.

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

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

Beyond the annotations (non-destructive, idempotent, closed-world), the description discloses plan gating (Pro with plan_limit/upgradeUrl on Free, paused choices), the exact permission matrix for who may change the setting, the forbidden error code cannot_edit_publishers, private-template validation, the confirmation step, and the return shape ('publishing (mode, paused, publishers) and changed'). This is unusually rich disclosure of consequences and preconditions.

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 mode list, and every clause carries real information (plans, permissions, errors, returns). It is dense and parenthesis-heavy, reading as one long paragraph, so structure could be improved, but there is no filler to cut.

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 with no output schema, the description covers the mutation's effect, who is authorized, plan constraints, failure modes, the confirmation workflow, and what is returned. Nothing an agent needs to invoke it correctly 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; the description nonetheless adds meaning beyond the field descriptions, clarifying that userIds lists 'up to 5 more members' after owners/admins are excluded and that a saved chosen/everyone choice is paused rather than rejected on Free. It stops short of explaining confirm/alwaysAllow/confirmationToken, which the schema already covers.

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. An agent can distinguish it from sibling tools like lnkdrp_update_settings, lnkdrp_set_doc_publishers, or lnkdrp_publish_email_template_draft 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 Guidelines4/5

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

Each mode is given a clear condition: default follows the workspace setting (pointing at lnkdrp_update_settings), owners/chosen/everyone describe exactly who gains publishing rights, and the Pro/paused caveats are spelled out. It does not, however, explicitly say when NOT to use this tool or name a sibling alternative for adjacent tasks (e.g. changing a doc's publishers).

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