Skip to main content
Glama

gmail_users_settings_send_as_create

Destructive

Creates a custom "from" send-as alias. If an SMTP MSA is specified, Gmail will attempt to connect to the SMTP service to validate the configuration before creating the alias. If ownership verification is required for the alias, a message will be sent to the email address and the resource's verification status will be set to pending; otherwise, the resource will be created with verification status set to accepted. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias. For more information, see Manage aliases and signatures with the Gmail API. This method is only available to service account clients that have been delegated domain-wide authority. Supply a concise reason and context for the user's activity record. These explanations do not grant permission. Listed tools may require an account connection or permission change in Leash; follow any access guidance returned by the tool and never bypass a denial.

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": {
      "reason": "<reason>",
      "context": "<context>",
      "input": "<input>"
    },
    "name": "gmail_users_settings_send_as_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
reasonYesWhy this access is necessary to fulfill the user's request
contextYesThe user request or task that prompted this action; omit unnecessary private details

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true, openWorldHint=true, idempotentHint=false) by disclosing real side effects: an outbound SMTP connection attempt to validate configuration, an email being sent to the address when ownership verification is required, verification status resolving to `pending` vs `accepted`, and HTML sanitization of signatures. These are exactly the non-obvious behaviors an agent needs before invoking a write operation with external effects.

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

Conciseness3/5

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

The purpose and behavioral consequences are front-loaded and well ordered, but the closing sentences about Leash account connections, permission changes, and "never bypass a denial" are generic cross-tool boilerplate that is not specific to this alias-creation call. Roughly a third of the text is reusable padding rather than tool-specific information.

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?

For a destructive, non-idempotent mutation with a nested body and no output schema, the description covers the important unknowns: authorization scope, external validation, outbound email, and resulting verification state. It never states what the created resource returns, but the outcome states are described well enough to act on.

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?

With 67% schema coverage, the description adds meaning the schema cannot: it explains the conditional consequences of supplying `smtpMsa` (live validation) and `signature` (sanitization), and it clarifies the purpose of the `reason` and `context` parameters as an activity record that does not itself grant permission. It leaves the remaining body fields (isDefault, treatAsAlias, replyToAddress, etc.) to the schema's own descriptions.

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: "Creates a custom 'from' send-as alias." This unambiguously distinguishes it from the sibling read/list/patch/update/delete/verify operations on the same sendAs collection.

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 hard precondition that materially changes whether an agent should call it at all: "only available to service account clients that have been delegated domain-wide authority." It does not explicitly say when to prefer send_as_patch or send_as_update instead of create, so it stops short of full alternative routing.

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.