Skip to main content
Glama

Mark a lead as a customer

convert_lead

Record that a lead bought (and for how much), so results count real sales. Changes the owner's account.

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": {
      "lead_id": "<lead_id>",
      "revenue_amount": "<revenue_amount>"
    },
    "name": "convert_lead"
  }
}

Input Schema

NameRequiredDescriptionDefault
lead_idYesThe lead id.
brand_idNoOptional business id from list_brands (default: this connection's business).
revenue_amountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With annotations declaring readOnlyHint=false, idempotentHint=false, and destructiveHint=false, the description still adds a non-obvious side effect: it changes the owner's account. That is real behavioral value beyond the structured fields. It does not state whether repeated calls double-count or what happens to an already-converted lead, so it stops short of full disclosure.

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?

Two short sentences, front-loaded with the action and amount and followed immediately by the side effect. No filler, and the ordering puts the most decision-relevant information first.

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-parameter mutation with no output schema, the description covers the what and a key side effect but leaves conversion semantics (re-conversion, currency, error behavior) unstated. Annotations cover the safety profile, so the remaining gap is moderate rather than severe.

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 67%, so the schema already documents lead_id and brand_id. The description's "for how much" hints that revenue_amount is the purchase value, but it omits currency, whether the amount is per-deal or cumulative, and how the string form is interpreted. That is a marginal addition over the schema, consistent with a baseline 3.

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 names a specific action and object: recording that a lead bought, with the amount captured. It adds intent ("so results count real sales") that clarifies why the conversion matters, which is better than a bare restatement of the title. It does not explicitly distinguish itself from siblings like get_lead, but the verb+resource pairing is unambiguous.

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?

The trigger condition is implied by the purpose: record a conversion when a lead actually bought. There is no explicit guidance on when not to call it, what to do if the lead is already converted, or which alternative to use for non-purchase lead updates.

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