Skip to main content
Glama

lead_score

Score a website lead (the Minhelet lead form): the lead-quality score 0 to 10 from the form fields, combined with the Asset Analyzer feasibility of its building (final = round(0.4 x quality + 0.6 x feasibility), capped at 3 for NO-GO and 7 for GO-WITH-CAUTION) and its tier (חם, חמים, קר, חלקי, זבל). With analyze: true it starts the asset check of the lead's building and adjacent buildings (counts against the asset_analyze daily limit; junk leads are not checked); past wait_seconds it returns {pending, run_id}, then call lead_score again with the same lead and that run_id. Without either, it scores lead quality alone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
leadYesThe lead form body as the website posts it (first_name, last_name, email, phone, city, street, building_number, building_units, building_floors, project_status, has_active_project, has_active_representation, adjacent_buildings_addresses, resident_consensus, known_opponents, has_signed_poa, message, ...).
run_idNoThe run_id an earlier lead_score or asset_analyze returned: combine with that check.
analyzeNoStart the asset check of the lead's building(s).
wait_secondsNoWith analyze: how long to wait before returning {pending, run_id} (default 50, max 290).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full load and discloses rich behavior: the scoring formula, caps for NO-GO and GO-WITH-CAUTION, daily-limit consumption for asset checks, that junk leads are skipped, the pending return shape, and the exact retry pattern with run_id. These are exactly the side effects and constraints an agent needs.

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?

The description is front-loaded with the core purpose and packs necessary detail without filler. It would benefit from lighter paragraph structure or bullets, but every clause earns its place given the tool's complexity.

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 tool of this complexity with a 100%-covered schema and no output schema, the description is thorough on behavior but never describes the final success return shape (fields included by the score result). The pending return is covered, but the normal output remains unspecified, leaving a meaningful gap for an agent to interpret results.

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 schema already documents each parameter. The description adds substantial meaning beyond that: it explains how analyze and wait_seconds interact, reveals the default and max wait, and describes the run_id retry contract, which the schema does not fully convey.

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?

The description opens with a precise verb and resource: 'Score a website lead (the Minhelet lead form)'. It immediately distinguishes the tool from siblings by naming the Asset Analyzer and describing the combined scoring logic, so an agent knows this is the only tool that produces a lead-quality plus feasibility score.

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?

It clearly explains the effect of each mode: 'With analyze: true it starts the asset check...', 'Without either, it scores lead quality alone', and the retry flow when pending. However, it does not explicitly state when to choose lead_score over directly calling asset_analyze or asset_result, leaving that relative routing unstated.

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