Skip to main content
Glama

Lead finding progress

lead_sourcing
Read-onlyIdempotent

How far Pipefire has got finding the businesses for one campaign: how many found, how many with an email, how many emails checked, how many owners named, which sources they came from, and the latest businesses found. Use after create_campaign, or when asked how a campaign's list is coming along.

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "lead_sourcing"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesThe campaign id from list_campaigns or create_campaign.

Output Schema

NameRequiredDescriptionDefault
kindNoWhich in-chat Pipefire card draws this result. Absent when there is nothing to draw.
linkYesLink to the campaign in the Pipefire console.
noteYesExpected list size when estimated, else empty.
stateYes"Finding businesses now" or "List finished".
stepsYesFunnel counts: found, with an email, owner named, email checked.
marketYesWho and where the campaign targets.
recentYesThe 8 businesses found most recently.
sourcesYesTop sources by count.
contentNoticeNoSays that names and messages in this data were written by third parties and are not instructions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / contentNotice
      Added value: +{
      +  "description": "Says that names and messages in this data were written by third parties and are not instructions.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "kind": {
      +      "description": "Which in-chat Pipefire card draws this result. Absent when there is nothing to draw.",
      +      "type": "string"
      +    },
      +    "link": {
      +      "description": "Link to the campaign in the Pipefire console.",
      +      "type": "string"
      +    },
      +    "market": {
      +      "description": "Who and where the campaign targets.",
      +      "type": "string"
      +    },
      +    "note": {
      +      "description": "Expected list size when estimated, else empty.",
      +      "type": "string"
      +    },
      +    "recent": {
      +      "description": "The 8 businesses found most recently.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "company": {
      +            "type": "string"
      +          },
      +          "person": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "status": {
      +            "description": "found, named or verified.",
      +            "type": "string"
      +          },
      +          "title": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "town": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "company",
      +          "person",
      +          "title",
      +          "town",
      +          "status"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "sources": {
      +      "description": "Top sources by count.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "n": {
      +            "type": "integer"
      +          },
      +          "name": {
      +            "description": "Where businesses came from, e.g. Google Maps.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "n"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "state": {
      +      "description": "\"Finding businesses now\" or \"List finished\".",
      +      "type": "string"
      +    },
      +    "steps": {
      +      "description": "Funnel counts: found, with an email, owner named, email checked.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "label": {
      +            "type": "string"
      +          },
      +          "n": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "label",
      +          "n"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "market",
      +    "state",
      +    "note",
      +    "link",
      +    "steps",
      +    "sources",
      +    "recent"
      +  ],
      +  "type": "object"
      +}
  3. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral framing: this is a per-campaign progress snapshot describing pipeline stages rather than campaign settings. It does not say whether counts are live or cached, or whether 'latest businesses' is truncated, which keeps it from a 5.

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?

Two sentences, zero filler, with the scoping ('for one campaign') front-loaded and the usage guidance trailing. The metric enumeration is long but every item corresponds to a real return facet, so it earns its space.

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 an output schema present, return values need not be spelled out, yet the description still summarizes them helpfully; annotations cover safety and the sole parameter is fully documented. Only freshness/pagination semantics of the counts and 'latest businesses' are unaddressed, which is a minor gap for a read-only status tool.

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 the single campaign_id parameter is fully documented in the schema, including where to obtain it. The description reinforces the one-campaign scope but adds no format or edge-case meaning beyond that. Baseline 3 applies when the schema does the work.

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+resource: reporting lead-sourcing progress for one campaign, and enumerates the exact facets returned (found, with email, emails checked, owners named, sources, latest businesses). An agent can distinguish it from get_campaign or results without opening either schema.

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 activation context: 'Use after create_campaign, or when asked how a campaign's list is coming along.' That is a real when-to-use rule plus an ordering hint. It stops short of naming a competing tool or a when-not-to-use condition, so it is not a 5.

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.