Skip to main content
Glama

gmail_send_commit

Sends a Gmail message only after the user confirms the preview with their exact consent, using the confirmation ID and hash to authorize the send.

Instructions

【第 2 步】用户确认后真正发送邮件。consent 必须是用户对预览说的确认原话。

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": {
      "confirmId": "<confirmId>",
      "hash": "<hash>",
      "consent": "<consent>"
    },
    "name": "gmail_send_commit"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYes
consentYes用户对预览说的确认原话
confirmIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

There are no annotations, so the description carries the full behavioral burden. To its credit, it discloses that this performs the real, final send rather than a draft, and it adds the unusual consent requirement. It does not state that the send is irreversible, how errors are reported, what permissions are needed, or what happens if the email was already sent.

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?

Two short sentences, front-loaded with the step indicator and the action, then the hard constraint on consent. Nothing is padded, though the definition is thin rather than maximally efficient.

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?

For a three-required-parameter, irreversible send operation with no annotations and no output schema, the definition is too thin. Two required parameters are unexplained, and there is no mention of success or failure behavior, though the consent semantics and the confirmation gate are covered adequately.

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 coverage is only 33%, with consent described and hash and confirmId left bare. The description explains only consent (it must be the user's verbatim confirmation words), leaving unanswered what confirmId identifies and what hash validates, even though both are required for the call to succeed.

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 uses a specific verb and resource and states the real effect: '用户确认后真正发送邮件' (actually sends the email after user confirmation). The '【第 2 步】' (Step 2) marker and the reference to a preview distinguish it from the draft-creation step, though the sibling gmail_send_draft is never named explicitly.

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?

It gives a clear precondition for invocation: it must run only after the user has confirmed. This implies the tool must not be called before a preview, which is a meaningful usage constraint. It stops short of naming the draft tool as the required alternative, but the two-step framing makes the sequence clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.