Skip to main content
Glama

Get a lead and its emails

get_lead
Read-only

Retrieve complete details for a single lead, including all fields, stage and ICP fit, sequence membership and progress, and chronological email history.

Instructions

One lead (row) in full: every field, its stage and ICP fit, the sequences it's in and where it is in each, and every email sent to it or received from it, oldest first.

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": {
      "table_id": "<table_id>",
      "row_id": "<row_id>"
    },
    "name": "get_lead"
  }
}

Input Schema

NameRequiredDescriptionDefault
row_idYes
table_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare this is a safe, read-only, closed-world fetch, so the bar is lower. The description adds real value beyond that by enumerating exactly what comes back: all fields, stage, ICP fit, per-sequence position, and both inbound and outbound emails ordered oldest first. It omits edge behavior such as what happens when the row ID is missing or whether the email list is truncated.

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 sentence, front-loaded with the resource and scope, then the payload contents in a natural reading order. Every clause carries distinct information and nothing is repeated from the title or annotations.

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?

For a read-only single-record fetch with no output schema, the description does the heavy lifting by describing the returned structure in detail. The remaining gap is the two required identifiers, which neither the schema nor the description explains. Otherwise an agent has enough to call it correctly.

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?

Schema description coverage is 0%, so the description must explain table_id and row_id. It only hints via 'lead (row)' that a lead is a row in a table; it never says what a table is here, where to obtain these IDs, or whether row_id is globally unique. The schema supplies bare strings with no constraints, leaving the caller under-informed.

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 states a precise scope: 'One lead (row) in full' with every field, stage, ICP fit, sequence memberships, and all emails. The singular 'One lead' implicitly distinguishes it from list-style siblings. The verb is implied rather than stated ('Get' appears only in the title), which keeps it just short of a 5.

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?

Usage is implied — use this to pull the complete detail for a single lead — but there is no explicit when-to-use or when-not-to-use guidance, and no alternative tool is named. An agent can infer intent, but nothing steers it between this and, say, a listing or search tool.

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