Skip to main content
Glama
Dealroot

Dealroot

Get lead

dealroot-get-lead
Read-onlyIdempotent

Retrieve a single lead with its submitted fields, first and most recent visit, pre-enquiry page views, and earlier enquiries from the same person.

Instructions

Returns one lead with all submitted fields, its first and most recent visit, the pages viewed before the enquiry and earlier enquiries from the same person.

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": {
      "id": "<id>"
    },
    "name": "dealroot-get-lead"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.2

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is settled. The description's real contribution is disclosing the composition of the returned record, which matters because there is no output schema. With the safety dimension pre-covered, a 3 is appropriate; nothing is said about not-found behavior or whether the enrichment sections appear when absent.

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?

A single front-loaded sentence that spends its words entirely on the return payload rather than restating the tool name. Every clause names a distinct part of the result.

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?

Because no output schema exists, the description must characterize the response, and it does so thoroughly for a read-only single-record fetch. The remaining gap is edge-case behavior for a nonexistent or inaccessible lead, which an agent would otherwise have to discover at call time.

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?

Only one parameter exists and the schema already fixes it as a required integer with minimum 1, so there is little left to explain. The description implies the lead is identified by a single key but never states that the `id` is a lead identifier or what namespace it belongs to. Adequate but not additive.

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?

"Returns one lead" gives a specific verb and singular scope, and the enumerated payload (submitted fields, first/latest visit, pre-enquiry page views, earlier enquiries) makes it distinguishable from a bulk lister such as dealroot-list-leads. It stops short of naming the sibling or contrasting with dealroot-get-report, so it is clear but not fully differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use statement, no contrast with dealroot-list-leads or dealroot-get-report, and no prerequisites (e.g. whether the lead must already exist, or what happens for an unknown id). A reader must infer from the singular scope that this is the single-record retrieval path.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.