Skip to content

docs: remote MCP tool parity and API changes from lettr#489 - #71

Open
voj-tech-j wants to merge 2 commits into
mainfrom
docs/tpl-2520-mcp-parity-and-api-changes
Open

voj-tech-j wants to merge 2 commits into
mainfrom
docs/tpl-2520-mcp-parity-and-api-changes

Conversation

@voj-tech-j

Copy link
Copy Markdown
Contributor

Docs for TOPOL-io/lettr#489 (TPL-2520).

Merge after lettr#489 is deployed — until then these pages describe behaviour production doesn't have yet. The API reference itself needs no change here: openapi.json is fetched from the app on build.

MCP pages

The remote server (app.lettr.com/mcp) now has 77 tools, at parity with the lettr-mcp package (69). The pages still showed the old split.

  • learn/mcp/tools-reference.mdx — availability table with a row per tool on either server; a reference section for every tool; corrected Available on labels (domain CRUD, delete_template, get_merge_tags, get_webhook are on both); corrected parameters (idempotency_key, optional subject on send_template_email, optional folder_id and purpose on create_template, purpose/folder_id filters on list_templates).
  • learn/mcp/introduction.mdx — comparison and capability table no longer present domain or template management as local-only; adds scheduling, email history, webhooks, campaigns, audience.
  • learn/mcp/setup.mdx — "Available Actions" covers all remote tools.
  • learn/mcp/local-setup.mdx — 69 tools instead of 14.
  • learn/domains/sending-domains.mdx — names the domain tools on both servers.

API behaviour

Page Change
learn/sending/email-history.mdx next_cursor is passed back unchanged (any other cursor → 422); from older than ~10 days is pulled forward; to is exclusive and must be after from
api-reference/campaigns/unschedule-a-campaign.mdx Unschedule also clears a delivery time staged on a draft
learn/audience/lists.mdx, segments.mdx, delete / bulk delete list summaries A list used by segments can't be deleted (409 list_in_use); bulk deletes nothing
learn/audience/segments.mdx Unsupported fields/operators are rejected (422); existing such conditions match no contacts
learn/audience/double-opt-in.mdx, create contact summary Unknown list_id → 422, no contact created
learn/webhooks/introduction.mdx, authorization.mdx, webhook quickstarts Name max 24 chars; an update needs at least one field; credentials only with auth_type, changeable over the API
api-reference/introduction.mdx 409 status; resource_already_exists and list_in_use error codes

mintlify broken-links: no broken links.

🤖 Generated with Claude Code

voj-tech-j and others added 2 commits September 17, 2026 15:48
Email history pagination takes next_cursor back unchanged, pulls an old
`from` forward to the retention limit and requires `to` after `from`.
Unschedule also clears a delivery time staged on a draft. Lists that
segments are scoped to cannot be deleted (409 list_in_use), segments
reject unsupported conditions, a contact's list_id must exist, and
webhook names are capped at 24 characters with updates needing a field.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The remote MCP server now registers 77 tools, reaching parity with the
lettr-mcp package, but the pages still marked domain management,
template delete, merge tags and webhook details as local only and
listed no campaign, audience, scheduling or email history tools.

The availability table now has a row per tool on either server (77
remote, 69 local), every tool has a reference section, stale parameter
tables are corrected (idempotency_key, optional subject and folder_id,
template purpose, slug and domain identifiers), and the local setup page
lists the package's 69 tools instead of 14.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant