Skip to main content
Glama

ai_lead_qualify

Read-only

AI lead qualification (BANT) — Qualify an inbound sales lead from an email, form fill or call notes using BANT. Returns tier HOT/WARM/COOL/COLD, a 0-100 score (budget, authority, need, timeline at 0-25 each, totalled offline), evidence quotes, company and contact, buying signals, red flags (including personal-only email addresses), missing info to ask, next step and a reply opener. Params: text= (required, up to 8000 chars), optional product= (what you sell) and icp= (ideal customer). Llama 3.3 70B; judges only from the text. Price: $0.008 USDC (Base, via x402).

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": {
      "text": "<text>"
    },
    "name": "ai_lead_qualify"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesHi, I'm Jane Doe, VP Operations at Acme Logistics (400 staff, 120 trucks). Our dispatchers plan routes in spreadsheets and we want route optimization live before Q1. Budget of about $50k is approved. Can we see a demo next week? jane.doe@acmelogistics.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/non-destructive, and the description adds substantially beyond them: the backing model (Llama 3.3 70B), the grounding constraint ('judges only from the text'), the per-dimension scoring scheme totalled offline, and the paid x402/USDC price on Base. Cost and model disclosure are exactly the kind of operational context annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the action, then the return payload, then params, model, and price — a sensible ordering with no filler sentences. The inline 'Params:' clause is slightly duplicative of the schema and is where the phantom-parameter error creeps in, but overall the density is appropriate for a tool with this much output.

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?

With no output schema, the description fully enumerates the return shape and cost, so an agent knows what it gets and what it pays. Remaining gaps are minor: no guidance on thin or malformed `text`, and error/failure behavior is unstated.

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?

The description does add useful constraint on `text` (required, up to 8000 chars), which the schema itself does not state. However, it advertises optional `product=` and `icp=` parameters that do not exist in the input schema, which will mislead an agent into passing unsupported arguments. That mismatch outweighs the added meaning.

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 — 'Qualify an inbound sales lead ... using BANT' — and names the input sources (email, form fill, call notes). The output contract (tier, 0-100 score, evidence quotes, red flags, next step) makes it immediately distinguishable from generic siblings like ai_classify or ai_extract.

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 clear usage context: inbound sales leads arriving as email, form fill, or call notes, judged only from the supplied text. It does not name when-not-to-use cases or point to alternatives (e.g., ai_classify for non-BANT labeling), so it stops short of full routing guidance.

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