Skip to main content
Glama

generate_email_from_subject

Read-only

AI-draft a full email from a subject line in the user's voice. Returns the draft text only — it does NOT send anything.

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": {
      "emailAddress": "<emailAddress>",
      "subjectLine": "<subjectLine>"
    },
    "name": "generate_email_from_subject"
  }
}

Input Schema

NameRequiredDescriptionDefault
subjectLineYesThe subject line / topic to write the email about.
emailAddressYesThe sending account's address (one of the user's connected email accounts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine value by saying the output is draft text in the user's voice and that nothing is sent, but it leaves open questions such as whether a writing-style profile must exist first or what happens on failure.

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 short sentences, front-loaded with the action and followed by the output/safety caveat. Nothing is redundant or padded.

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 correctly covers the return value ('draft text only') and the no-send guarantee, which is what an agent most needs for this two-parameter tool. A note on prerequisites (e.g., requiring the user's writing style to be configured) would have made it 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 coverage is 100%, so both parameters are fully documented in the schema itself. The description only reiterates that the draft derives from the subject line and that the account is the user's; it adds no format, constraint, or edge-case detail beyond that baseline.

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 ('AI-draft a full email') and names the required input ('from a subject line in the user's voice'). It also implicitly separates itself from generation siblings like generate_email_reply by taking a subject line rather than an existing thread, though it never names them.

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 clause 'it does NOT send anything' usefully rules out the send path and points an agent toward send_email for delivery. However, there is no positive statement of when to prefer this over generate_email_reply or generate_email_summary, so selection relies on inference from the input parameters.

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.