Skip to main content
Glama

Laposta MCP by usefulapi

Set a campaign's content

laposta_set_campaign_content
Destructive

WRITE: replace a campaign's content with your HTML, or let Laposta import it from a URL (html wins if both are given). Does not send anything. The reply's report lists problems Laposta found (javascript, missing unsubscribe link, missing images).

Input Schema

NameRequiredDescriptionDefault
htmlNoThe complete HTML of the email.
import_urlNoA public URL Laposta fetches the HTML from.
inline_cssNoInline the CSS.
campaign_idYesThe campaign id (from laposta_list_campaigns).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true; the description adds what is actually destroyed (existing content is overwritten), that nothing is dispatched, and that the response contains a validation report. It does not cover authorization requirements or whether a failed import_url fetch leaves the campaign untouched.

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

Conciseness5/5

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

Two sentences, front-loaded with a 'WRITE:' marker, with no redundant restatement of the title or schema fields. Each clause carries distinct information: mode selection, side-effect boundary, and response contents.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description usefully summarizes what the reply's report contains (javascript, missing unsubscribe link, missing images). It could say more about failure behavior for a bad import_url or whether content is left intact on validation errors.

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 genuinely new meaning the schema lacks: the precedence rule that html overrides import_url when both are provided. It adds nothing about inline_css beyond the schema text.

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 ('replace a campaign's content') and gives the two input modes with a precedence rule. 'Does not send anything' distinguishes it from laposta_send_test_email, and the word 'replace' distinguishes it from the read-only sibling laposta_get_campaign_content.

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 a concrete selection rule between the two content sources ('html wins if both are given') and a clear negative boundary ('Does not send anything'). It does not explicitly name sibling tools to use instead for reading or sending, so it stops short of a full when/when-not map.

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.