Skip to main content
Glama

Draft an email to a dealer or lender

dealer_email
Read-onlyIdempotent

Drafts an email to a dealer or lender from one of six Before the Lot templates: request an itemized out-the-door quote, make an offer, share a competing quote, confirm the deal, decline, or give a lender the deal's numbers. Returns a subject and body for the person to review and send from their own inbox; nothing is sent. Details are numbers and short labels; contact details are refused, and an offer over the walk line given isn't drafted.

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": {
      "kind": "<kind>"
    },
    "name": "dealer_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesWhich email: request-quote, make-offer, competing-quote, confirm-deal, decline, lender-deal
detailsNoWhat the email needs: the car, dealer, prices and loan terms. Leave out what does not apply

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • addedInput schema / properties / details / description
      Added value: +"What the email needs: the car, dealer, prices and loan terms. Leave out what does not apply"
    • addedInput schema / properties / details / properties / amount_to_finance / description
      Added value: +"The amount to finance, for a lender"
    • addedInput schema / properties / details / properties / apr_percent / description
      Added value: +"Loan APR in percent"
    • addedInput schema / properties / details / properties / down_payment / description
      Added value: +"Cash down payment"
    • addedInput schema / properties / details / properties / offer / description
      Added value: +"The out-the-door price offered"
    • addedInput schema / properties / details / properties / out_the_door_price / description
      Added value: +"An out-the-door price: the competing quote, or the agreed price to confirm"
    • addedInput schema / properties / details / properties / pre_approved / description
      Added value: +"The buyer has a loan pre-approval"
    • addedInput schema / properties / details / properties / stock_or_vin / description
      Added value: +"The dealer's stock number or the VIN"
    • addedInput schema / properties / details / properties / term_months / description
      Added value: +"Loan term in months"
    • addedInput schema / properties / details / properties / trade_equity / description
      Added value: +"Trade-in value less what is owed on it (negative when more is owed)"
    • addedInput schema / properties / details / properties / used_car / description
      Added value: +"The car is used"
    • changedInput schema / properties / kind / description
      Previous value: -"Which email"New value: +"Which email: request-quote, make-offer, competing-quote, confirm-deal, decline, lender-deal"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: it says nothing is sent, that a subject and body are returned for the user to review, that contact details are refused, and that an offer above the walk line will not be drafted. These are the exact behavioral facts an agent needs before calling.

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 sentences, front-loaded with the action and the template enumeration, followed by output shape and constraints. Every clause carries information; nothing is filler.

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

Completeness5/5

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

For a two-parameter drafting tool with no output schema, the description covers input shape, output shape (subject and body), safety (nothing sent), and refusal rules. An agent can call it correctly without further information.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning by characterizing `details` as numbers and short labels and by stating the walk-line constraint and the contact-detail refusal. It does not restate individual field semantics, which the schema already handles.

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 ("Drafts an email to a dealer or lender") and then enumerates the six template kinds, so the agent knows exactly what output to expect. No sibling tool drafts emails, and the description makes that scope unmistakable.

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?

The six named templates effectively tell the agent which situations map to which `kind`, giving clear usage context. It stops short of explicitly excluding sibling tools (desk_script, check_quote, compare_quotes), so the routing is implied rather than spelled out.

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