Skip to main content
Glama

Draft an email to app users

email_users
Destructive

Drafts an email to the app's users (all or one plan). Returns approve_url: nothing is sent until the Site Owner approves.

Input Schema

NameRequiredDescriptionDefault
bodyYesPlain text
planNoPlan id; default all
siteYes
subjectYes
confirm_tokenNo

Output Schema

NameRequiredDescriptionDefault
daysNo
recipientsNo
approve_urlNo
agent_messageNo
confirm_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / agent_message
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / approve_url
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / days
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / recipients
      Added value: +{
      +  "type": "number"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "confirm_token": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Added

TDQS

A3.8/5.0
Behavior4/5

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

The description adds important behavior beyond the annotations: it returns approve_url and nothing is sent until the Site Owner approves. This approval workflow is valuable context. The only gap is that it does not reconcile the draft-only behavior with the destructiveHint annotation or explain permissions beyond Site Owner approval.

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 no wasted text. The scope and approval constraint are stated immediately.

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 presence of an output schema means return values need not be fully explained, and the annotations cover the safety profile. Still, for a 5-parameter mutation-style tool with low schema coverage, the description should explain the confirm_token and site parameters more fully to be complete.

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

Parameters2/5

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

Schema description coverage is only 40%, so the description should compensate. It clarifies that plan can mean all users or one plan, but it leaves site, subject, and especially confirm_token unexplained, even though confirm_token is likely central to the approval flow.

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?

The description states a specific verb and resource: drafts an email to the app's users, with scope limited to all users or one plan. This is clear and specific enough for an agent to distinguish it from unrelated sibling tools such as invite_users or remove_user.

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?

It indicates that the tool creates a draft and that sending requires Site Owner approval, which is useful usage context. However, it does not explain when to choose this over alternatives, nor does it mention prerequisites or when not to use it.

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.

Resources