Skip to main content
Glama

Draft matter email

draft_matter_email

Saves a Gmail draft in the signed-in person's mailbox for a Clio matter, CCing the Clio maildrop so it files when sent. Does not send. A first call returns a preview; a second call with confirm true and that preview_id applies the change. Sign-in required.

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": {
      "matter_id": "<matter_id>",
      "to": "<to>",
      "subject": "<subject>",
      "body": "<body>"
    },
    "name": "draft_matter_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccNoExtra CC email(s), comma-separated. The matter maildrop is added automatically.
toYesRecipient email(s), comma-separated.
bccNoBCC email(s), comma-separated.
bodyYesEmail body.
confirmNofalse or omitted returns a preview; true applies the change identified by preview_id.
is_htmlNoBody is HTML. Defaults to plain text.
subjectYesSubject line.
matter_idYesClio matter id (digits) from find_matter or list_open_matters. Not the display number.
preview_idNopreview_id is the id returned by this tool's preview call. Required when confirm is true.
idempotency_keyNoOptional. A retry with the same key returns the first result without a second write. Defaults to preview_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • addedInput schema / properties / bcc
      Added value: +{
      +  "description": "BCC email(s), comma-separated.",
      +  "type": "string"
      +}
    • addedInput schema / properties / body
      Added value: +{
      +  "description": "Email body.",
      +  "type": "string"
      +}
    • addedInput schema / properties / cc
      Added value: +{
      +  "description": "Extra CC email(s), comma-separated. The matter maildrop is added automatically.",
      +  "type": "string"
      +}
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "false or omitted returns a preview; true applies the change identified by preview_id.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "Optional. A retry with the same key returns the first result without a second write. Defaults to preview_id.",
      +  "type": "string"
      +}
    • addedInput schema / properties / is_html
      Added value: +{
      +  "description": "Body is HTML. Defaults to plain text.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / matter_id
      Added value: +{
      +  "description": "Clio matter id (digits) from find_matter or list_open_matters. Not the display number.",
      +  "type": "string"
      +}
    • addedInput schema / properties / preview_id
      Added value: +{
      +  "description": "preview_id is the id returned by this tool's preview call. Required when confirm is true.",
      +  "type": "string"
      +}
    • addedInput schema / properties / subject
      Added value: +{
      +  "description": "Subject line.",
      +  "type": "string"
      +}
    • addedInput schema / properties / to
      Added value: +{
      +  "description": "Recipient email(s), comma-separated.",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "matter_id",
      +  "to",
      +  "subject",
      +  "body"
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: nothing is sent, the Clio maildrop is CCed automatically so the item files on send, and the operation is a two-phase preview-then-confirm flow that requires an authenticated session. These are exactly the side-effect and auth facts an agent needs before invoking a write tool.

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?

Four short sentences, front-loaded with what is created and immediately followed by the critical "Does not send" constraint. No filler or restatement of the title.

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 10-parameter write tool with no output schema, the description covers side effects, the confirm workflow, and auth requirements. It is slightly thin on what the preview returns and on failure behavior for an invalid matter_id, but the essentials for correct invocation are present.

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 every parameter including confirm, preview_id, and idempotency_key is already documented in structured form. The description reinforces the preview_id/confirm relationship narratively and notes the automatic maildrop CC, but adds little parameter meaning the schema does not already carry, so the baseline of 3 applies.

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 ("Saves a Gmail draft") scoped to a Clio matter, and the platform name implicitly separates it from the Outlook draft siblings. The explicit "Does not send" further pins down what the tool is, though it never names a sibling such as reply_to_matter_email to route against.

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 concrete operating context: sign-in is required, a first call is a preview, and a second call with confirm true plus preview_id applies it. It does not state when an agent should prefer this over the reply or Outlook drafting siblings, so the selection guidance is incomplete rather than explicit.

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