Skip to main content
Glama

draft_revise

Optional reason: why you're making this change, in one sentence the person reads (at most 1000 characters). Optional sources: reference addresses in Home, such as /mail/#/c/12; never message or document text. Replace a draft's text with a new version. Earlier versions are kept so the user can step back. A scheduled message keeps its time. Its formatting goes unless html gives it again. html: optional formatted text in place of body's plain text (body is then made from it): one per line, an empty

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": {
      "draft": "<draft>",
      "body": "<body>",
      "author": "<author>"
    },
    "name": "draft_revise"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
htmlNo
draftYes
modelNo
authorYes
reasonNo
sourcesNo
instructionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior4/5

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

Beyond annotations, it discloses that earlier versions are retained, scheduled time is preserved, formatting is dropped unless html supplies it, unsupported markup is reduced to words, and pictures survive only when retained. It does not cover permissions, ownership, or what happens to non-picture attachments, so it is not fully exhaustive.

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 content is dense and largely earns its length given 0% schema coverage, but it starts with optional parameter docs before stating the tool's purpose. The html rules are necessary yet front-loading is poor and some phrasing is hard to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter mutation with no output schema and no schema descriptions, the definition leaves several parameters and the response contract unexplained. It covers behavior and html formatting well but is not complete enough for reliable invocation.

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 0% across 8 parameters, but the description only explains reason, sources, and html. Required body, draft, and author are not explicitly defined, and model and instruction are completely unaddressed.

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 sentence 'Replace a draft's text with a new version' gives a specific verb and resource. However, it never explicitly differentiates this operation from sibling tools such as draft_edit or explains why replacement is preferred over editing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative such as draft_edit or draft_new. The description only implies use for revising an existing draft through its purpose and the note that scheduled messages keep their time.

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.