Skip to main content
Glama

Loops MCP by usefulapi

Send a transactional email

loops_send_transactional
Destructive

SENDS a real transactional email via a Loops template. This dispatches an actual email to the recipient. Loops API: POST /v1/transactional.

Input Schema

NameRequiredDescriptionDefault
emailYesRecipient email address (required).
attachmentsNoOptional attachments: array of { filename, contentType, data } objects.
addToAudienceNoWhether to add the recipient to your audience.
dataVariablesNoTemplate data variables (string/number) to interpolate into the template.
transactionalIdYesThe Loops transactional template id (required).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / dataVariables / additionalProperties / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]
    • addedInput schema / properties / dataVariables / additionalProperties / type
      Added value: +[
      +  "string",
      +  "number"
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only supply destructiveHint=true, so the description carries the rest of the burden, and it does add real value by stressing that a live email is dispatched to the recipient — the irreversibility that the hint implies but does not spell out. It stops short of disclosing failure modes (invalid transactionalId, rate limits, whether a failed send is retried), so it is strong but not complete.

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?

Three short sentences, with the consequential fact (this sends a real email) front-loaded in the first sentence. The trailing 'Loops API: POST /v1/transactional' is transport trivia an agent cannot act on, so it is the one element that does not fully earn its place.

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

Completeness3/5

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

With no output schema and a nested-object parameter (attachments, dataVariables), the description should ideally say what comes back (message id, success/failure) and how partial failures behave. It covers the core action and its side effect adequately but leaves the caller without return-value or error semantics.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Every one of the five parameters already has a schema description, so the schema does the heavy lifting and a 3 is the baseline. The description adds no syntax, format, or constraint detail beyond what the schema states (e.g. attachment data encoding, how dataVariables map to template placeholders).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('SENDS a real transactional email via a Loops template') and even gives the underlying endpoint, so an agent knows exactly what happens. It implicitly separates itself from the adjacent send_event tool, but never names a sibling explicitly, which is the one thing keeping this from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The repeated emphasis on 'SENDS' / 'dispatches an actual email' implies the appropriate caution and gives implicit usage context, but there is no explicit when-to-use vs. when-to-use-something-else guidance (e.g. send_event for event-triggered mail, or batch alternatives). Prerequisites such as a valid API key or a pre-existing template id are not stated.

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.