Skip to main content
Glama

HamroLink Business OS MCP Server

email.draft

Drafts a personalized customer email with variable interpolation for preview.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "to": "<to>",
      "subject": "<subject>",
      "message": "<message>"
    },
    "name": "email.draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesRecipient email address, array of addresses, or audience tag ('all', 'customers', 'leads', 'students')
ctaUrlNoOptional CTA destination URL
ctaTextNoOptional CTA button label
headingNoOptional email header title
messageYesEmail body text
subjectYesEmail subject line
templateNoOptional template key ('marketing', 'newsletter', 'announcement', 'followup', 'support', 'blank')
primaryColorNoOptional brand color hex

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, and destructiveHint=false. The description adds that the tool drafts for preview and supports variable interpolation, which clarifies that it is not a send operation, but it does not explain whether the draft is persisted, what external side effects occur, or how interpolation variables are supplied.

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?

The description is a single front-loaded sentence with no redundant wording. It communicates the core action and preview intent efficiently.

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?

The schema covers all parameters and annotations cover safety traits, but for an 8-parameter drafting tool with no output schema, the description leaves gaps around draft persistence, return behavior, and explicit routing versus email.send. It is minimally adequate but not fully complete.

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?

Schema description coverage is 100%, so parameters such as 'to', 'template', 'ctaUrl', and 'primaryColor' are fully documented in the schema. The description adds only the high-level idea of personalization and interpolation, without mapping those concepts to specific parameters.

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?

States a specific verb and resource: 'Drafts a personalized customer email' plus the feature 'variable interpolation for preview.' The verb 'Drafts' implies preparation rather than sending, but the description does not explicitly name the sibling email.send to make the distinction unmistakable.

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 phrase 'for preview' implies the tool is used before sending, but there is no explicit when-to-use guidance, no prerequisites, and no named alternative such as email.send. The implied context is useful but leaves routing partly to inference.

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.