Skip to main content
Glama

leadgraph

Export leads

export_leads
Read-onlyIdempotent

A finished job's lead sheet as CSV (CRM import: one row per business), JSON, or Cypher (Neo4j: Business, Account, Person nodes). Free.

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": {
      "job_id": "<job_id>",
      "format": "<format>"
    },
    "name": "export_leads"
  }
}

Input Schema

NameRequiredDescriptionDefault
focusNoWhat lead_score ranks for: social_agency (quiet or missing social accounts), web_agency (dead or weak websites), b2b_sales (a reachable decision-maker), reputation (rating below competitors). Default b2b_sales.
formatYescsv, json or cypher.
job_idYesA job id from an earlier step (lg2_...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already carry the safety profile (readOnly, idempotent, non-destructive, openWorld), so the bar is lower; the description still adds real context by explaining what each format emits (CSV = one row per business for CRM import, Cypher = Business/Account/Person nodes) and that the call is free. It does not say whether the result is inline content, a file, or a URL, which is the main behavioral unknown.

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?

A single dense, front-loaded sentence with no filler; the parentheticals on CSV and Cypher each carry distinct meaning. The trailing 'Free.' is terse to the point of being abrupt but does convey cost information.

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?

With no output schema, the description should explain what the caller receives from an export (artifact vs. inline payload, size limits, link expiry). Format contents are covered well, but the return channel is left unspecified for a tool whose entire purpose is producing output.

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 coverage is 100% and both enums (format, focus) are documented in the schema, so the schema does the heavy lifting. The description adds mapping semantics for the format values but says nothing about focus or about what a job_id must satisfy beyond 'finished'.

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?

Names a concrete resource (a finished job's lead sheet) and enumerates the three output formats with their target shapes (CRM row-per-business, JSON, Neo4j node types). It is specific enough to distinguish from lead_sheet, but never explicitly contrasts itself with that sibling or with job_status.

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 phrase 'a finished job's lead sheet' implicitly tells the agent the job must already be complete, which is useful sequencing guidance. There is no explicit statement of when to prefer this over lead_sheet, nor any exclusion or precondition failure behavior.

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.