Skip to main content
Glama

draft_cancellation_email

Generate a cancellation/non-renewal email draft from a contract. Does not send. Requires email:draft scope.

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": {
      "contract_id": "<contract_id>"
    },
    "name": "draft_cancellation_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
contract_idYes
cancellation_effective_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does real work: it discloses that no email is actually sent and that an email:draft scope is required, which is the most safety- and auth-critical fact for an agent. It stops short of saying whether a draft is persisted in a mailbox, whether the call is idempotent, or what the response contains.

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?

Three short sentences, front-loaded with the purpose and the non-sending guarantee, with zero filler. Nothing here could be cut without losing information an agent needs.

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?

There is no output schema, and the description never indicates what the caller receives back or where the draft lands, which matters for a generation tool. Combined with the total absence of parameter documentation, it is adequate to select the tool but thin for invoking it confidently with a date and reason.

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 0% across three parameters, so the description must compensate and largely does not. "From a contract" only loosely maps to contract_id, while reason and cancellation_effective_date — including the date's expected format, which the schema leaves as an untyped string — receive no explanation at all.

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 concrete verb-and-resource pair ("Generate a cancellation/non-renewal email draft from a contract") and immediately bounds the scope with "Does not send." It is unambiguous against the sibling list, which contains no other drafting tool, though it never names an alternative explicitly.

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?

Usage is implied by the contract-source phrasing and the "Does not send" boundary, which tells an agent this is the safe pre-send step. There is no explicit statement of when to prefer this over, say, start_renewal_negotiation or flag_contract_for_review, and no stated prerequisites beyond the scope.

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