Skip to main content
Glama

List email templates

lnkdrp_list_email_templates
Read-onlyIdempotent

appUrl is this item's page in LinkDrop, for someone signed in. The workspace's email templates this person can see, created most recently first, without their bodies: name, description, format, align, subject, tags (key, entity, description, required, example), tagsCount, state, visibility, owner and createdBy. Team templates and their own private ones are listed; other people's private templates are not. builtInTags lists the tags LinkDrop fills for each recipient, with what each stands for. query searches the name, subject, description and {{tag}} keys (any part; with no word of three or more letters, the name only), the body as read, tag descriptions and document slot titles (whole words and their forms; "exact phrase" in quotes), and workspace tags (labels), projects and linked documents by name; drafts and older versions are not searched. With a word of three or more letters, rows come best match first and each carries match { in, snippet, name }: in is name, subject, description, tag key, label, project, document or body; snippet is the matching text; name is the {{tag}}, label, project or document. totalCapped true means more than 500 matched and total is a lower bound. searchIn: name searches the name only. More filters, each narrowing the list and the search: format (text or html), madeBy (person or agent), ownerId (a member's id, or me), hasDocument, tagKey (a {{tag}} key), createdFrom and createdTo, updatedFrom and updatedTo (updatedAfter and updatedBefore are their older names), sent (ever sent), hasDrafts (open drafts). order: relevance (the default with a query), newest (the default otherwise), updated, name or mostSent. state: active (the default) or archived; deleted templates are in lnkdrp_list_deleted. visibility filters: team, private (their own private ones), or mine (every template they own). createdBy says who made it: name, via (web, api or mcp) and the agent when known; "Former member" for someone no longer in the workspace. Each row also has labels (the workspace's tags on it, from lnkdrp_tag; not its {{…}} tags) and projects (the projects it is filed under). usage counts how much it was used: drops (the drops that use it, any state), singleEmails (emails sent from it on their own, outside a drop) and emailsSent (every email sent from it); dry runs are not counted, and private drops and emails are counted but not named. projectId keeps the templates filed under that project; docId keeps those with a link slot on that document (a document in a locked project this person is outside gives an empty page); labels keeps those carrying any of the named workspace tags. Dates: a bare date (2026-10-28) is that whole day in the workspace's time zone (UTC when it has none) and a To date includes that day; a time with Z or an offset is that exact instant; the answer's dateRange gives the time zone and the exact instants used. Page-based: total says how many match.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lnkdrp_list_email_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page number.
sentNotrue: templates an email was ever sent from. false: none sent yet.
docIdNoOnly email templates with a link slot on this document (24 hex chars).
limitNoTemplates per page (1-100).
orderNorelevance: best match (the default with a query). newest: created most recently (the default otherwise). updated: last edited first. name: A-Z. mostSent: most emails sent.
queryNoSearches name, subject, description, body text, {{tag}} keys, workspace tags, projects and linked document names, case-insensitively. Body text matches whole words and their forms; "exact phrase" in quotes.
stateNoactive (default): templates in use. archived: kept templates that cannot be edited or used to render until unarchived.
formatNoOnly templates of this format.
labelsNoOnly email templates carrying any of these workspace tags (lnkdrp_tag), by name or slug (1-20).
madeByNoperson: made in the app. agent: made through the API or an agent.
tagKeyNoOnly templates that declare this {{tag}} key, e.g. contact.firstName (braces optional, any case).
ownerIdNoOnly templates this member owns, team ones included: a user id (24 hex chars), or me.
searchInNoall (default): everything query searches. name: the template name only.
createdToNoOnly templates created on or before this date (that whole day) or time.
hasDraftsNotrue: templates with an open draft. false: none open.
projectIdNoOnly email templates filed under this project (24 hex chars).
updatedToNoOnly templates last changed on or before this date (that whole day) or time.
visibilityNoall (default): every email template this person can see. mine: every template they own. team: shared ones. private: their own private ones.
createdFromNoOnly templates created on or after this date (2026-10-28) or time.
hasDocumentNotrue: templates with a document slot. false: templates without one.
updatedFromNoOnly templates last changed on or after this date (2026-10-28) or time.
updatedAfterNoThe older name of updatedFrom: only templates last edited on or after this date (2026-10-28) or time.
updatedBeforeNoThe older name of updatedTo: only templates last edited on or before this date (that whole day) or time.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / order / description
      Previous value: -"relevance: best match (the default with a query). updated: last edited first (the default otherwise). name: A-Z. newest: created most recently. mostSent: most emails sent."New value: +"relevance: best match (the default with a query). newest: created most recently (the default otherwise). updated: last edited first. name: A-Z. mostSent: most emails sent."
  2. Changed16 schema fields changed
    • addedInput schema / properties / createdFrom
      Added value: +{
      +  "description": "Only templates created on or after this date (2026-10-28) or time.",
      +  "maxLength": 40,
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}",
      +  "type": "string"
      +}
    • addedInput schema / properties / createdTo
      Added value: +{
      +  "description": "Only templates created on or before this date (that whole day) or time.",
      +  "maxLength": 40,
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}",
      +  "type": "string"
      +}
    • addedInput schema / properties / format
      Added value: +{
      +  "description": "Only templates of this format.",
      +  "enum": [
      +    "text",
      +    "html"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / hasDocument
      Added value: +{
      +  "description": "true: templates with a document slot. false: templates without one.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / hasDrafts
      Added value: +{
      +  "description": "true: templates with an open draft. false: none open.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / madeBy
      Added value: +{
      +  "description": "person: made in the app. agent: made through the API or an agent.",
      +  "enum": [
      +    "person",
      +    "agent"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / order
      Added value: +{
      +  "description": "relevance: best match (the default with a query). updated: last edited first (the default otherwise). name: A-Z. newest: created most recently. mostSent: most emails sent.",
      +  "enum": [
      +    "relevance",
      +    "updated",
      +    "name",
      +    "newest",
      +    "mostSent"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / ownerId
      Added value: +{
      +  "description": "Only templates this member owns, team ones included: a user id (24 hex chars), or me.",
      +  "pattern": "^(me|[0-9a-fA-F]{24})$",
      +  "type": "string"
      +}
    • changedInput schema / properties / query / description
      Previous value: -"Match the template name, case-insensitively."New value: +"Searches name, subject, description, body text, {{tag}} keys, workspace tags, projects and linked document names, case-insensitively. Body text matches whole words and their forms; \"exact phrase\" in quotes."
    • addedInput schema / properties / searchIn
      Added value: +{
      +  "description": "all (default): everything query searches. name: the template name only.",
      +  "enum": [
      +    "all",
      +    "name"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / sent
      Added value: +{
      +  "description": "true: templates an email was ever sent from. false: none sent yet.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / tagKey
      Added value: +{
      +  "description": "Only templates that declare this {{tag}} key, e.g. contact.firstName (braces optional, any case).",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / updatedAfter
      Added value: +{
      +  "description": "The older name of updatedFrom: only templates last edited on or after this date (2026-10-28) or time.",
      +  "maxLength": 40,
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}",
      +  "type": "string"
      +}
    • addedInput schema / properties / updatedBefore
      Added value: +{
      +  "description": "The older name of updatedTo: only templates last edited on or before this date (that whole day) or time.",
      +  "maxLength": 40,
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}",
      +  "type": "string"
      +}
    • addedInput schema / properties / updatedFrom
      Added value: +{
      +  "description": "Only templates last changed on or after this date (2026-10-28) or time.",
      +  "maxLength": 40,
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}",
      +  "type": "string"
      +}
    • addedInput schema / properties / updatedTo
      Added value: +{
      +  "description": "Only templates last changed on or before this date (that whole day) or time.",
      +  "maxLength": 40,
      +  "pattern": "^\\d{4}-\\d{2}-\\d{2}",
      +  "type": "string"
      +}
  3. Changed5 schema fields changed
    • addedInput schema / properties / docId
      Added value: +{
      +  "description": "Only email templates with a link slot on this document (24 hex chars).",
      +  "pattern": "^[a-fA-F0-9]{24}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / labels
      Added value: +{
      +  "description": "Only email templates carrying any of these workspace tags (lnkdrp_tag), by name or slug (1-20).",
      +  "items": {
      +    "maxLength": 60,
      +    "minLength": 1,
      +    "pattern": "^[^,]*$",
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / projectId
      Added value: +{
      +  "description": "Only email templates filed under this project (24 hex chars).",
      +  "pattern": "^[a-fA-F0-9]{24}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / state
      Added value: +{
      +  "description": "active (default): templates in use. archived: kept templates that cannot be edited or used to render until unarchived.",
      +  "enum": [
      +    "active",
      +    "archived"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / visibility
      Added value: +{
      +  "description": "all (default): every email template this person can see. mine: every template they own. team: shared ones. private: their own private ones.",
      +  "enum": [
      +    "all",
      +    "mine",
      +    "team",
      +    "private"
      +  ],
      +  "type": "string"
      +}
  4. Added

TDQS

A4.4/5.0
Behavior5/5

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

Read-only/idempotent hints are already in annotations, but the description adds substantive behavior beyond them: other people's private templates are excluded, results cap at 500 with totalCapped flagging a lower bound, dry runs are excluded from usage counts, private drops/emails are counted but not named, and a locked-project document yields an empty page. It also discloses response shape (rows, builtInTags, dateRange, match objects) that no output schema covers.

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

Conciseness2/5

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

Roughly 400 words delivered as a few run-on sentences with no headings, bullet structure, or paragraphing. It also front-loads a field definition ('appUrl is this item's page in LinkDrop') ahead of the actual purpose statement, so the most important information is not first. Nearly every fact is relevant, but the packaging makes it hard to scan.

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 23-parameter, zero-required list tool with no output schema, the description covers result fields, pagination ('total says how many match'), search semantics, all filter interactions, ordering defaults, and edge cases like the 500 cap and locked projects. An agent could call this correctly without further exploration.

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 genuinely adds semantics absent from the schema: the three-or-more-letters rule for query, quoted exact phrases, bare-date whole-day interpretation in the workspace time zone with inclusive To dates, and the note that updatedAfter/updatedBefore are older names. Much of the remainder restates filter behavior already encoded in the schema, which keeps it below a 5.

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 concrete verb and resource with explicit scope: 'The workspace's email templates this person can see' with a precise returned-field list, and names the boundary against a sibling ('deleted templates are in lnkdrp_list_deleted'). An agent can distinguish it from lnkdrp_get_email_template and lnkdrp_list_deleted 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?

Gives strong when-to-use context through defaults and routing (deleted items go to lnkdrp_list_deleted; relevance is the default with a query, newest otherwise; visibility filter semantics). However, it never explicitly says when to prefer this list over lnkdrp_get_email_template for a single template, or when to switch to lnkdrp_list_email_template_versions.

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